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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt (-32 / +33 lines)
Lines 40-76 Link Here
40
                <h1>Rotating collections</h1>
40
                <h1>Rotating collections</h1>
41
                <div>
41
                <div>
42
                    [% IF ( collectionsLoop ) %]
42
                    [% IF ( collectionsLoop ) %]
43
                        <table id="rotating-collections-table">
43
                        <div class="page-section">
44
                            <thead>
44
                            <table id="rotating-collections-table">
45
                                <tr>
45
                                <thead>
46
                                    <th>Title</th>
46
                                    <tr>
47
                                    <th>Description</th>
47
                                        <th>Title</th>
48
                                    <th>Current library</th>
48
                                        <th>Description</th>
49
                                    <th>&nbsp;</th>
49
                                        <th>Current library</th>
50
                                </tr>
50
                                        <th>&nbsp;</th>
51
                            </thead>
51
                                    </tr>
52
                            <tbody>
52
                                </thead>
53
                            [% FOREACH collectionsLoo IN collectionsLoop %]
53
                                <tbody>
54
                                <tr>
54
                                [% FOREACH collectionsLoo IN collectionsLoop %]
55
                                    <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]">[% collectionsLoo.colTitle | html %]</a></td>
55
                                    <tr>
56
                                    <td>[% collectionsLoo.colDesc | html %]</td>
56
                                        <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]">[% collectionsLoo.colTitle | html %]</a></td>
57
                                    <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
57
                                        <td>[% collectionsLoo.colDesc | html %]</td>
58
                                    <td>
58
                                        <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
59
                                    <div class="btn-group dropup">
59
                                        <td>
60
                                        <a class="btn btn-default btn-xs" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
60
                                        <div class="btn-group dropup">
61
                                        Actions <b class="caret"></b></a>
61
                                            <a class="btn btn-default btn-xs dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
62
                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
62
                                            Actions <b class="caret"></b></a>
63
                                            <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
63
                                            <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
64
                                            <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-exchange"></i> Transfer</a></li>
64
                                                <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
65
                                            <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&amp;colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
65
                                                <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-exchange"></i> Transfer</a></li>
66
                                            <li><a class="confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&amp;colId=[% collectionsLoo.colId | html %]"><i class="fa fa-trash"></i> Delete</a></li>
66
                                                <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&amp;colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
67
                                        </ul>
67
                                                <li><a class="confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&amp;colId=[% collectionsLoo.colId | html %]"><i class="fa fa-trash"></i> Delete</a></li>
68
                                    </div>
68
                                            </ul>
69
                                    </td>
69
                                        </div>
70
                                </tr>
70
                                        </td>
71
                            [% END %]
71
                                    </tr>
72
                            </tbody>
72
                                [% END %]
73
                        </table>
73
                                </tbody>
74
                            </table>
75
                        </div> <!-- /.page-section -->
74
                    [% ELSE %]
76
                    [% ELSE %]
75
                        <div class="dialog message">There are no collections currently defined.</div>
77
                        <div class="dialog message">There are no collections currently defined.</div>
76
                    [% END %]
78
                    [% END %]
77
- 

Return to bug 31770