View | Details | Raw Unified | Return to bug 2780
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-27 / +27 lines)
Lines 2-8 Link Here
2
[% UNLESS ( multi_hold ) %]
2
[% UNLESS ( multi_hold ) %]
3
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Place a hold on [% title |html %]</title>
3
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Place a hold on [% title |html %]</title>
4
[% ELSE %]
4
[% ELSE %]
5
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Confirm Holds</title>
5
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Confirm holds</title>
6
[% END %]
6
[% END %]
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'calendar.inc' %]
8
[% INCLUDE 'calendar.inc' %]
Lines 141-147 function checkMultiHold() { Link Here
141
[% UNLESS ( multi_hold ) %]
141
[% UNLESS ( multi_hold ) %]
142
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% title |html %]</a> &rsaquo; Place a hold on [% title |html %]</div>
142
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% title |html %]</a> &rsaquo; Place a hold on [% title |html %]</div>
143
[% ELSE %]
143
[% ELSE %]
144
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Confirm Holds</div>
144
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Confirm holds</div>
145
[% END %]
145
[% END %]
146
146
147
 <div id="doc3" class="yui-t2">
147
 <div id="doc3" class="yui-t2">
Lines 173-179 function checkMultiHold() { Link Here
173
173
174
  [% UNLESS ( borrowernumber ) %]
174
  [% UNLESS ( borrowernumber ) %]
175
    [% IF ( messageborrower ) %]
175
    [% IF ( messageborrower ) %]
176
      <div class="dialog alert"><h3>Patron Not Found</h3><p>No patron with this name, Please, try another</p> </div>
176
      <div class="dialog alert"><h3>Patron Not Found</h3><p>No patron with this name, please, try another</p> </div>
177
    [% END %]
177
    [% END %]
178
    <form action="request.pl?biblionumber=[% biblionumber %]" method="post">
178
    <form action="request.pl?biblionumber=[% biblionumber %]" method="post">
179
        [% UNLESS ( CGIselectborrower ) %]
179
        [% UNLESS ( CGIselectborrower ) %]
Lines 201-207 function checkMultiHold() { Link Here
201
    <div class="dialog alert">
201
    <div class="dialog alert">
202
202
203
    [% UNLESS ( multi_hold ) %]
203
    [% UNLESS ( multi_hold ) %]
204
      <h3>Cannot Place Hold</h3>
204
      <h3>Cannot place hold</h3>
205
  	  <ul>
205
  	  <ul>
206
        [% IF ( maxreserves ) %]
206
        [% IF ( maxreserves ) %]
207
          <li><strong>Too Many Holds: </strong> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %] </a> has too many holds.</li>
207
          <li><strong>Too Many Holds: </strong> <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %] </a> has too many holds.</li>
Lines 214-220 function checkMultiHold() { Link Here
214
        [% END %]
214
        [% END %]
215
	  </ul>
215
	  </ul>
216
    [% ELSE %]
216
    [% ELSE %]
217
      <h3>Cannot Place Hold on Some Items</h3>
217
      <h3>Cannot place hold on some items</h3>
218
    [% END %]
218
    [% END %]
219
219
220
    </div>
220
    </div>
Lines 289-295 function checkMultiHold() { Link Here
289
	<li>
289
	<li>
290
	    <label for="reserve_date">Hold starts on date:</label>
290
	    <label for="reserve_date">Hold starts on date:</label>
291
	    <input name="reserve_date" id="reserve_date" size="10" readonly="readonly">
291
	    <input name="reserve_date" id="reserve_date" size="10" readonly="readonly">
292
	    <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarReserveDate" style="cursor: pointer;" />
292
	    <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show calendar" border="0" id="CalendarReserveDate" style="cursor: pointer;" />
293
	    <script language="JavaScript" type="text/javascript">
293
	    <script language="JavaScript" type="text/javascript">
294
		//<![CDATA[
294
		//<![CDATA[
295
		function validate1(date) {
295
		function validate1(date) {
Lines 321-327 function checkMultiHold() { Link Here
321
	<li>
321
	<li>
322
	    <label for="expiration_date">Hold expires on date:</label>
322
	    <label for="expiration_date">Hold expires on date:</label>
323
	    <input name="expiration_date" id="expiration_date" size="10" readonly="readonly" />
323
	    <input name="expiration_date" id="expiration_date" size="10" readonly="readonly" />
324
	    <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarExpirationDate" style="cursor: pointer;" />
324
	    <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show calendar" border="0" id="CalendarExpirationDate" style="cursor: pointer;" />
325
	    <script language="JavaScript" type="text/javascript">
325
	    <script language="JavaScript" type="text/javascript">
326
		//<![CDATA[
326
		//<![CDATA[
327
		function validate1(date) {
327
		function validate1(date) {
Lines 346-352 function checkMultiHold() { Link Here
346
		);
346
		);
347
		//]]>
347
		//]]>
348
	    </script>
348
	    </script>
349
		<a href='#' onclick="document.getElementById('expiration_date').value='';">Clear Date</a>
349
		<a href='#' onclick="document.getElementById('expiration_date').value='';">Clear date</a>
350
	</li>
350
	</li>
351
351
352
        [% UNLESS ( multi_hold ) %]
352
        [% UNLESS ( multi_hold ) %]
Lines 362-372 function checkMultiHold() { Link Here
362
        <fieldset class="action">
362
        <fieldset class="action">
363
            [% IF ( borrowernumber ) %]
363
            [% IF ( borrowernumber ) %]
364
                [% IF ( override_required ) %]
364
                [% IF ( override_required ) %]
365
                    <input type="submit" class="warning" value="Place Hold" />
365
                    <input type="submit" class="warning" value="Place hold" />
366
                [% ELSIF ( none_available ) %]
366
                [% ELSIF ( none_available ) %]
367
                    <input type="submit" disabled="disabled" value="Place Hold" />
367
                    <input type="submit" disabled="disabled" value="Place hold" />
368
                [% ELSE %]
368
                [% ELSE %]
369
                    <input type="submit" value="Place Hold" />
369
                    <input type="submit" value="Place hold" />
370
                [% END %]
370
                [% END %]
371
            [% END %]
371
            [% END %]
372
        </fieldset>
372
        </fieldset>
Lines 387-394 function checkMultiHold() { Link Here
387
                <th>Item type</th>
387
                <th>Item type</th>
388
            [% END %]
388
            [% END %]
389
            <th>Barcode</th>
389
            <th>Barcode</th>
390
            <th>Home Library</th>
390
            <th>Home library</th>
391
            <th>Last Location</th>
391
            <th>Last location</th>
392
            <th>Call no.</th>
392
            <th>Call no.</th>
393
            <th>Copy no.</th>
393
            <th>Copy no.</th>
394
            [% IF itemdata_enumchron %]
394
            [% IF itemdata_enumchron %]
Lines 486-492 function checkMultiHold() { Link Here
486
      <tr>
486
      <tr>
487
        <th>Title</th>
487
        <th>Title</th>
488
        [% UNLESS ( item_level_itypes ) %]
488
        [% UNLESS ( item_level_itypes ) %]
489
          <th>Item Type</th>
489
          <th>Item type</th>
490
        [% END %]
490
        [% END %]
491
        <th>Priority</th>
491
        <th>Priority</th>
492
        <th>Information</th>
492
        <th>Information</th>
Lines 550-560 function checkMultiHold() { Link Here
550
    <fieldset class="action">
550
    <fieldset class="action">
551
        [% IF ( borrowernumber ) %]
551
        [% IF ( borrowernumber ) %]
552
            [% IF ( override_required ) %]
552
            [% IF ( override_required ) %]
553
                <input type="submit" class="warning" value="Place Hold" />
553
                <input type="submit" class="warning" value="Place hold" />
554
            [% ELSIF ( none_available ) %]
554
            [% ELSIF ( none_available ) %]
555
                <input type="submit" disabled="disabled" value="Place Hold" />
555
                <input type="submit" disabled="disabled" value="Place hold" />
556
            [% ELSE %]
556
            [% ELSE %]
557
                <input type="submit" value="Place Hold" />
557
                <input type="submit" value="Place hold" />
558
            [% END %]
558
            [% END %]
559
        [% END %]
559
        [% END %]
560
    </fieldset>
560
    </fieldset>
Lines 591-600 function checkMultiHold() { Link Here
591
        <th>Notes</th>
591
        <th>Notes</th>
592
        <th>Date</th>
592
        <th>Date</th>
593
	<th>Expiration</th>
593
	<th>Expiration</th>
594
        <th>Pick up Library</th>
594
        <th>Pick up library</th>
595
        <th>Details</th>
595
        <th>Details</th>
596
        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
596
        [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
597
            <th><img src="/intranet-tmpl/[% theme %]/img/go-bottom.png" border="0" alt="Toggle Set to Lowest Priority" /></th>
597
            <th><img src="/intranet-tmpl/[% theme %]/img/go-bottom.png" border="0" alt="Toggle set to lowest priority" /></th>
598
        [% END %]
598
        [% END %]
599
	<th>&nbsp;</th>
599
	<th>&nbsp;</th>
600
	<th>&nbsp;</th>
600
	<th>&nbsp;</th>
Lines 625-639 function checkMultiHold() { Link Here
625
            <img src="/intranet-tmpl/[% theme %]/img/go-up.png" border="0" alt="Go up" />
625
            <img src="/intranet-tmpl/[% theme %]/img/go-up.png" border="0" alt="Go up" />
626
                </a>
626
                </a>
627
627
628
		<a title="Move Hold To Top" href="request.pl?action=move&amp;where=top&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
628
		<a title="Move hold to top" href="request.pl?action=move&amp;where=top&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
629
                    <img src="/intranet-tmpl/[% theme %]/img/go-top.png" border="0" alt="Go top" />
629
                    <img src="/intranet-tmpl/[% theme %]/img/go-top.png" border="0" alt="Go top" />
630
                </a>
630
                </a>
631
631
632
                <a title="Move Hold To Bottom" href="request.pl?action=move&amp;where=bottom&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
632
                <a title="Move hold to bottom" href="request.pl?action=move&amp;where=bottom&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
633
                    <img src="/intranet-tmpl/[% theme %]/img/go-bottom.png" border="0" alt="Go bottom" />
633
                    <img src="/intranet-tmpl/[% theme %]/img/go-bottom.png" border="0" alt="Go bottom" />
634
                </a>
634
                </a>
635
635
636
                <a title="Move Hold Down" href="request.pl?action=move&amp;where=down&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
636
                <a title="Move hold down" href="request.pl?action=move&amp;where=down&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
637
                    <img src="/intranet-tmpl/[% theme %]/img/go-down.png" border="0" alt="Go down" />
637
                    <img src="/intranet-tmpl/[% theme %]/img/go-down.png" border="0" alt="Go down" />
638
                </a>
638
                </a>
639
        </td>
639
        </td>
Lines 683-689 function checkMultiHold() { Link Here
683
                    [% reserveloo.barcodenumber %]
683
                    [% reserveloo.barcodenumber %]
684
                    <input type="hidden" name="itemnumber" value="[% reserveloo.itemnumber %]" />
684
                    <input type="hidden" name="itemnumber" value="[% reserveloo.itemnumber %]" />
685
                [% ELSE %]
685
                [% ELSE %]
686
                    No Barcode
686
                    No barcode
687
                [% END %]
687
                [% END %]
688
          </a>
688
          </a>
689
    [% ELSE %]
689
    [% ELSE %]
Lines 695-701 function checkMultiHold() { Link Here
695
                         [% reserveloo.barcodenumber %]
695
                         [% reserveloo.barcodenumber %]
696
                        <input type="hidden" name="itemnumber" value="[% reserveloo.itemnumber %]" />
696
                        <input type="hidden" name="itemnumber" value="[% reserveloo.itemnumber %]" />
697
                    [% ELSE %]
697
                    [% ELSE %]
698
                        No Barcode
698
                        No barcode
699
                    [% END %]
699
                    [% END %]
700
                </a>
700
                </a>
701
                </i>
701
                </i>
Lines 713-719 function checkMultiHold() { Link Here
713
713
714
    [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
714
    [% IF ( CAN_user_reserveforothers_modify_holds_priority ) %]
715
	<td>
715
	<td>
716
		<a title="Toggle Lowest Priority" href="request.pl?action=setLowestPriority&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]"> 
716
		<a title="Toggle lowest priority" href="request.pl?action=setLowestPriority&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
717
			[% IF ( reserveloo.lowestPriority ) %]
717
			[% IF ( reserveloo.lowestPriority ) %]
718
                        <img src="/intranet-tmpl/[% theme %]/img/go-bottom.png" border="0" alt="Unset Lowest Priority" />
718
                        <img src="/intranet-tmpl/[% theme %]/img/go-bottom.png" border="0" alt="Unset Lowest Priority" />
719
		        [% ELSE %]
719
		        [% ELSE %]
Lines 724-730 function checkMultiHold() { Link Here
724
    [% END %]
724
    [% END %]
725
725
726
	<td>
726
	<td>
727
		<a title="Cancel Hold" href="request.pl?action=cancel&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
727
		<a title="Cancel hold" href="request.pl?action=cancel&amp;borrowernumber=[% reserveloo.borrowernumber %]&amp;biblionumber=[% reserveloo.biblionumber %]&amp;date=[% reserveloo.date %]">
728
                    <img src="/intranet-tmpl/[% theme %]/img/x.png" border="0" alt="Cancel" />
728
                    <img src="/intranet-tmpl/[% theme %]/img/x.png" border="0" alt="Cancel" />
729
                </a>
729
                </a>
730
	</td>
730
	</td>
Lines 736-742 function checkMultiHold() { Link Here
736
            [% IF AutoResumeSuspendedHolds %]
736
            [% IF AutoResumeSuspendedHolds %]
737
	    <label for="suspend_until_[% reserveloo.borrowernumber %]">[% IF ( reserveloo.suspend ) %] on [% ELSE %] until [% END %]</label>
737
	    <label for="suspend_until_[% reserveloo.borrowernumber %]">[% IF ( reserveloo.suspend ) %] on [% ELSE %] until [% END %]</label>
738
	    <input name="suspend_until" id="suspend_until_[% reserveloo.borrowernumber %]" size="10" readonly="readonly" value="[% reserveloo.suspend_until %]" />
738
	    <input name="suspend_until" id="suspend_until_[% reserveloo.borrowernumber %]" size="10" readonly="readonly" value="[% reserveloo.suspend_until %]" />
739
	    <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="SuspendUntilDate_[% reserveloo.borrowernumber %]" style="cursor: pointer;" />
739
	    <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show calendar" border="0" id="SuspendUntilDate_[% reserveloo.borrowernumber %]" style="cursor: pointer;" />
740
	    <script language="JavaScript" type="text/javascript">
740
	    <script language="JavaScript" type="text/javascript">
741
		//<![CDATA[
741
		//<![CDATA[
742
		function validate1(date) {
742
		function validate1(date) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reviews/reviewswaiting.tt (-1 / +1 lines)
Lines 32-38 Link Here
32
            Commenter
32
            Commenter
33
        </th>
33
        </th>
34
        <th>
34
        <th>
35
            On Title
35
            On title
36
        </th>
36
        </th>
37
        <th>
37
        <th>
38
            Comment
38
            Comment
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt (-11 / +11 lines)
Lines 1-24 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools &rsaquo; Rotating Collections &rsaquo; Add/Remove Items</title>
2
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Add/Remove items</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
4
</head>
5
<body>
5
<body>
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
8
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating Collections</a> &rsaquo; Add/Remove Items</div>
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> &rsaquo; Add/Remove items</div>
10
10
11
<div id="doc3">
11
<div id="doc3">
12
<div id="bd">
12
<div id="bd">
13
        <div class="yui-gb">
13
        <div class="yui-gb">
14
14
15
      <h1>Rotating Collections: Add/Remove Items</h1>
15
      <h1>Rotating collections: Add/Remove items</h1>
16
16
17
      <div>
17
      <div>
18
          <br />
18
          <br />
19
          [% IF ( previousActionAdd ) %]
19
          [% IF ( previousActionAdd ) %]
20
            [% IF ( addSuccess ) %]
20
            [% IF ( addSuccess ) %]
21
              <div>Item with barcode '[% addedBarcode %]' Added Successfully!</div>
21
              <div>Item with barcode '[% addedBarcode %]' Added successfully!</div>
22
            [% ELSE %]
22
            [% ELSE %]
23
              <div>Failed to add item with barcode '[% addedBarcode %]'!</div>
23
              <div>Failed to add item with barcode '[% addedBarcode %]'!</div>
24
              <div>Reason: <strong>[% failureMessage %]</strong></div>
24
              <div>Reason: <strong>[% failureMessage %]</strong></div>
Lines 27-40 Link Here
27
27
28
          [% IF ( previousActionRemove ) %]
28
          [% IF ( previousActionRemove ) %]
29
            [% IF ( removeSuccess ) %]
29
            [% IF ( removeSuccess ) %]
30
              <div>Item with barcode '[% addedBarcode %]' Removed Successfully!</div>
30
              <div>Item with barcode '[% addedBarcode %]' Removed successfully!</div>
31
            [% ELSE %]
31
            [% ELSE %]
32
              <div>Failed to remove item with barcode '[% removedBarcode %]'!</div>
32
              <div>Failed to remove item with barcode '[% removedBarcode %]'!</div>
33
              <div>Reason: <strong>[% failureMessage %]</strong></div>
33
              <div>Reason: <strong>[% failureMessage %]</strong></div>
34
            [% END %]
34
            [% END %]
35
          [% END %]
35
          [% END %]
36
36
37
          <h3>Add Item to <i>[% colTitle %]</i></h3>
37
          <h3>Add item to <i>[% colTitle %]</i></h3>
38
      </div>
38
      </div>
39
39
40
      <div>
40
      <div>
Lines 46-52 Link Here
46
            <td>
46
            <td>
47
              [% IF ( removeChecked ) %]<input type="checkbox" name="removeItem" checked="checked" />
47
              [% IF ( removeChecked ) %]<input type="checkbox" name="removeItem" checked="checked" />
48
              [% ELSE %]<input type="checkbox" name="removeItem" />[% END %]
48
              [% ELSE %]<input type="checkbox" name="removeItem" />[% END %]
49
              <label for="removeItem">Remove Item from Collection</label>
49
              <label for="removeItem">Remove item from collection</label>
50
            </td>
50
            </td>
51
          </tr>
51
          </tr>
52
52
Lines 58-69 Link Here
58
      </div>
58
      </div>
59
59
60
      <div>
60
      <div>
61
        <h2>Items In This Collection</h2>
61
        <h2>Items in this collection</h2>
62
        [% IF ( collectionItemsLoop ) %]
62
        [% IF ( collectionItemsLoop ) %]
63
          <table>
63
          <table>
64
            <tr>
64
            <tr>
65
              <th>Title</th>
65
              <th>Title</th>
66
              <th>Callnumber</th>
66
              <th>Call number</th>
67
              <th>Barcode</th>
67
              <th>Barcode</th>
68
            </tr>
68
            </tr>
69
            [% FOREACH collectionItemsLoo IN collectionItemsLoop %]
69
            [% FOREACH collectionItemsLoo IN collectionItemsLoop %]
Lines 75-87 Link Here
75
            [% END %]
75
            [% END %]
76
          </table>
76
          </table>
77
        [% ELSE %]
77
        [% ELSE %]
78
          There are no Items in this Collection.
78
          There are no items in this collection.
79
        [% END %]
79
        [% END %]
80
      </div>
80
      </div>
81
81
82
      <div>
82
      <div>
83
        <br/>
83
        <br/>
84
        <input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
84
        <input type="button" value="Return to rotating collections home" onclick="window.location.href='rotatingCollections.pl'">
85
      </div>
85
      </div>
86
86
87
</div>
87
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt (-13 / +13 lines)
Lines 1-42 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools &rsaquo; Rotating Collections &rsaquo; Edit Collections</title>
2
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Edit collections</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
4
</head>
5
<body id="rcoll_editCollections" class="tools rcoll">
5
<body id="rcoll_editCollections" class="tools rcoll">
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
8
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating Collections</a> &rsaquo; Edit Collections</div>
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> &rsaquo; Edit collections</div>
10
10
11
<div id="doc3">
11
<div id="doc3">
12
<div id="bd">
12
<div id="bd">
13
        <div class="yui-gb">
13
        <div class="yui-gb">
14
      <h1>Rotating Collections: Edit Collections</h1>
14
      <h1>Rotating collections: Edit collections</h1>
15
15
16
<!--
16
<!--
17
      [% IF ( previousActionCreate ) %]
17
      [% IF ( previousActionCreate ) %]
18
        [% IF ( createSuccess ) %]
18
        [% IF ( createSuccess ) %]
19
          <div>Collection '[% createdTitle %]' Created Successfully!</div>
19
          <div>Collection '[% createdTitle %]' Created successfully!</div>
20
        [% ELSE %]
20
        [% ELSE %]
21
          <div>Collection '[% createdTitle %]' Failed To Be Created!</div>
21
          <div>Collection '[% createdTitle %]' Failed to be created!</div>
22
          <div>Reason: <strong>[% failureMessage %]</strong></div>
22
          <div>Reason: <strong>[% failureMessage %]</strong></div>
23
        [% END %]
23
        [% END %]
24
      [% END %]
24
      [% END %]
25
25
26
      [% IF ( previousActionDelete ) %]
26
      [% IF ( previousActionDelete ) %]
27
        [% IF ( DeleteSuccess ) %]
27
        [% IF ( DeleteSuccess ) %]
28
          <div>Collection Deleted Successfully!</div>
28
          <div>Collection Deleted successfully!</div>
29
        [% ELSE %]
29
        [% ELSE %]
30
          <div>Collection Failed To Be Deleted!</div>
30
          <div>Collection Failed to be deleted!</div>
31
        [% END %]
31
        [% END %]
32
      [% END %]
32
      [% END %]
33
-->
33
-->
34
34
35
      [% IF ( previousActionUpdate ) %]
35
      [% IF ( previousActionUpdate ) %]
36
        [% IF ( updateSuccess ) %]
36
        [% IF ( updateSuccess ) %]
37
          <div>Collection '[% updatedTitle %]' Updated Successfully!</div>
37
          <div>Collection '[% updatedTitle %]' Updated successfully!</div>
38
        [% ELSE %]
38
        [% ELSE %]
39
          <div>Collection '[% updatedTitle %]' Failed To Be Updated!</div>
39
          <div>Collection '[% updatedTitle %]' Failed to be updated!</div>
40
          <div>Reason: <strong>[% failureMessage %]</strong></div>
40
          <div>Reason: <strong>[% failureMessage %]</strong></div>
41
        [% END %]
41
        [% END %]
42
      [% END %]
42
      [% END %]
Lines 47-53 Link Here
47
            <tr>
47
            <tr>
48
              <th>Title</th>
48
              <th>Title</th>
49
              <th>Description</th>
49
              <th>Description</th>
50
              <th>Holding Library</th>
50
              <th>Holding library</th>
51
              <td></td>
51
              <td></td>
52
              <td></td>
52
              <td></td>
53
            </tr>
53
            </tr>
Lines 62-68 Link Here
62
            [% END %]
62
            [% END %]
63
          </table>
63
          </table>
64
        [% ELSE %]
64
        [% ELSE %]
65
          There are no Collections currently defined.
65
          There are no collections currently defined.
66
        [% END %]
66
        [% END %]
67
      </div>    
67
      </div>    
68
68
Lines 72-78 Link Here
72
        [% IF ( previousActionEdit ) %]
72
        [% IF ( previousActionEdit ) %]
73
          <h1>Edit Collection</h1>
73
          <h1>Edit Collection</h1>
74
        [% ELSE %]
74
        [% ELSE %]
75
          <h1>Create New Collection</h1>
75
          <h1>Create new collection</h1>
76
        [% END %]
76
        [% END %]
77
77
78
        <form action="editCollections.pl" method="post">
78
        <form action="editCollections.pl" method="post">
Lines 119-125 Link Here
119
119
120
      <div>
120
      <div>
121
        <br/>
121
        <br/>
122
        <input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
122
        <input type="button" value="Return to rotating collections home" onclick="window.location.href='rotatingCollections.pl'">
123
      </div>
123
      </div>
124
124
125
</div>
125
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt (-8 / +8 lines)
Lines 1-27 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools &rsaquo; Rotating Collections</title>
2
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
4
</head>
5
<body id="rcoll_rotatingCollections" class="tools rcoll">
5
<body id="rcoll_rotatingCollections" class="tools rcoll">
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
8
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Rotating Collections</div>
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Rotating collections</div>
10
10
11
<div id="doc3">
11
<div id="doc3">
12
<div id="bd">
12
<div id="bd">
13
        <div class="yui-gb">
13
        <div class="yui-gb">
14
14
15
      <h1>Rotating Collections</h1>
15
      <h1>Rotating collections</h1>
16
      <div>
16
      <div>
17
        [% IF ( collectionsLoop ) %]
17
        [% IF ( collectionsLoop ) %]
18
          <table>
18
          <table>
19
            <tr>
19
            <tr>
20
              <th><strong>Title</strong></th>
20
              <th><strong>Title</strong></th>
21
              <th>Description</strong></th>
21
              <th>Description</strong></th>
22
              <th>Current Location</th>
22
              <th>Current location</th>
23
              <th>Add/Remove Items</th>
23
              <th>Add/Remove items</th>
24
              <th>Transfer Collection</th>
24
              <th>Transfer collection</th>
25
            </tr>
25
            </tr>
26
            [% FOREACH collectionsLoo IN collectionsLoop %]
26
            [% FOREACH collectionsLoo IN collectionsLoop %]
27
              <tr>
27
              <tr>
Lines 34-46 Link Here
34
            [% END %]
34
            [% END %]
35
          </table>
35
          </table>
36
        [% ELSE %]
36
        [% ELSE %]
37
          There are no Collections currently defined.
37
          There are no collections currently defined.
38
        [% END %]
38
        [% END %]
39
      </div>
39
      </div>
40
40
41
      <div>
41
      <div>
42
	<br/>
42
	<br/>
43
	<input type="button" value="Edit Collections" onclick="window.location.href='editCollections.pl'"> 
43
	<input type="button" value="Edit collections" onclick="window.location.href='editCollections.pl'">
44
      </div>    
44
      </div>    
45
</div>
45
</div>
46
</div>
46
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt (-9 / +8 lines)
Lines 1-23 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Tools &rsaquo; Rotating Collections &rsaquo; Transfer Collection</title>
2
<title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Transfer collection</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
4
</head>
5
<body id="rcoll_transferCollection" class="tools rcoll">
5
<body id="rcoll_transferCollection" class="tools rcoll">
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
8
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating Collections</a> &rsaquo; Transfer Collection</div>
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> &rsaquo; Transfer collection</div>
10
<div id="doc3">
10
<div id="doc3">
11
<div id="bd">
11
<div id="bd">
12
        <div class="yui-gb">
12
        <div class="yui-gb">
13
      <h1>Rotating Collections: Transfer Collection</h1>
13
      <h1>Rotating collections: Transfer collection</h1>
14
    <br />
14
    <br />
15
      [% IF ( transferSuccess ) %]
15
      [% IF ( transferSuccess ) %]
16
        <div>Collection Transferred Successfully</div>
16
        <div>Collection transferred successfully</div>
17
      [% END %]
17
      [% END %]
18
18
19
      [% IF ( transferFailure ) %]
19
      [% IF ( transferFailure ) %]
20
        <div>Failed to Transfer Collection!</div>
20
        <div>Failed to transfer collection!</div>
21
        <div>Reason: <strong>[% errorMessage %]</strong></div>
21
        <div>Reason: <strong>[% errorMessage %]</strong></div>
22
      [% END %]
22
      [% END %]
23
23
Lines 27-46 Link Here
27
          <form action="transferCollection.pl" method="post">
27
          <form action="transferCollection.pl" method="post">
28
            <input type="hidden" name="colId" value="[% colId %]">
28
            <input type="hidden" name="colId" value="[% colId %]">
29
  
29
  
30
            <label for="toBranch">Choose your Library:</label>
30
            <label for="toBranch">Choose your library:</label>
31
            <select name="toBranch">
31
            <select name="toBranch">
32
              [% FOREACH branchoptionloo IN branchoptionloop %]
32
              [% FOREACH branchoptionloo IN branchoptionloop %]
33
                [% IF ( branchoptionloo.selected ) %]<option value="[% branchoptionloo.code %]" selected="selected">[% branchoptionloo.name %]</option>[% ELSE %]<option value="[% branchoptionloo.code %]">[% branchoptionloo.name %]</option>[% END %]
33
                [% IF ( branchoptionloo.selected ) %]<option value="[% branchoptionloo.code %]" selected="selected">[% branchoptionloo.name %]</option>[% ELSE %]<option value="[% branchoptionloo.code %]">[% branchoptionloo.name %]</option>[% END %]
34
              [% END %]
34
              [% END %]
35
            </select>
35
            </select>
36
            <INPUT type="submit" value="Transfer Collection">
36
            <INPUT type="submit" value="Transfer collection">
37
          </form>
37
          </form>
38
        </div>
38
        </div>
39
      [% END %]
39
      [% END %]
40
40
41
      <div>
41
      <div>
42
        <br/>
42
        <br/>
43
        <input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
43
        <input type="button" value="Return to rotating collections home" onclick="window.location.href='rotatingCollections.pl'">
44
      </div>
44
      </div>
45
45
46
</div>
46
</div>
47
- 

Return to bug 2780