Bugzilla – Attachment 142105 Details for
Bug 31770
Add 'page-section' to rotating collections page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31770: Add page-section class to rotating collections page
Bug-31770-Add-page-section-class-to-rotating-colle.patch (text/plain), 6.75 KB, created by
Lucas Gass
on 2022-10-18 22:15:09 UTC
(
hide
)
Description:
Bug 31770: Add page-section class to rotating collections page
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2022-10-18 22:15:09 UTC
Size:
6.75 KB
patch
obsolete
>From cb5fd3dee8b99e846f82a7d0ad22f99d16b6af64 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 18 Oct 2022 22:11:30 +0000 >Subject: [PATCH] Bug 31770: Add page-section class to rotating collections > page > >To test: >1. Apply patch >2. Go to the rotating collections page. Tools / Rotating collections >3. Add some new collections >4. Note that the page looks good with the new page section div. > >Note: >I made some indentation changes and fixed a small typo where the 'dropdown-toggle' class was not being properly applied. >--- > .../rotatingCollections.tt | 64 ++++++++++--------- > 1 file changed, 33 insertions(+), 31 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >index b3a664ced3..58d806318a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt >@@ -40,37 +40,39 @@ > <h1>Rotating collections</h1> > <div> > [% IF ( collectionsLoop ) %] >- <table id="rotating-collections-table"> >- <thead> >- <tr> >- <th>Title</th> >- <th>Description</th> >- <th>Current library</th> >- <th> </th> >- </tr> >- </thead> >- <tbody> >- [% FOREACH collectionsLoo IN collectionsLoop %] >- <tr> >- <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]">[% collectionsLoo.colTitle | html %]</a></td> >- <td>[% collectionsLoo.colDesc | html %]</td> >- <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td> >- <td> >- <div class="btn-group dropup"> >- <a class="btn btn-default btn-xs" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#"> >- Actions <b class="caret"></b></a> >- <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]"> >- <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> >- <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-exchange"></i> Transfer</a></li> >- <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-pencil"></i> Edit</a></li> >- <li><a class="confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&colId=[% collectionsLoo.colId | html %]"><i class="fa fa-trash"></i> Delete</a></li> >- </ul> >- </div> >- </td> >- </tr> >- [% END %] >- </tbody> >- </table> >+ <div class="page-section"> >+ <table id="rotating-collections-table"> >+ <thead> >+ <tr> >+ <th>Title</th> >+ <th>Description</th> >+ <th>Current library</th> >+ <th> </th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH collectionsLoo IN collectionsLoop %] >+ <tr> >+ <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]">[% collectionsLoo.colTitle | html %]</a></td> >+ <td>[% collectionsLoo.colDesc | html %]</td> >+ <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td> >+ <td> >+ <div class="btn-group dropup"> >+ <a class="btn btn-default btn-xs dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]"> >+ <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> >+ <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-exchange"></i> Transfer</a></li> >+ <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-pencil"></i> Edit</a></li> >+ <li><a class="confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&colId=[% collectionsLoo.colId | html %]"><i class="fa fa-trash"></i> Delete</a></li> >+ </ul> >+ </div> >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> >+ </div> <!-- /.page-section --> > [% ELSE %] > <div class="dialog message">There are no collections currently defined.</div> > [% END %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31770
:
142105
|
142119
|
142397