Bugzilla – Attachment 48722 Details for
Bug 15995
Making libraries actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15995: Moving libraries actions into a drop-down menu
Bug-15995-Moving-libraries-actions-into-a-drop-dow.patch (text/plain), 4.38 KB, created by
Aleisha Amohia
on 2016-03-06 22:59:21 UTC
(
hide
)
Description:
Bug 15995: Moving libraries actions into a drop-down menu
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-03-06 22:59:21 UTC
Size:
4.38 KB
patch
obsolete
>From cf3532bb7816d80564ad7255f3ee1b82294e391a Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Sun, 6 Mar 2016 22:57:05 +0000 >Subject: [PATCH] Bug 15995: Moving libraries actions into a drop-down menu > >To test: > >1) Go to Administration -> Libraries and Groups >2) Confirm that the actions 'Edit' and 'Delete' have been moved into drop-down menus for BOTH tables and buttons behave as expected. > >Sponsored-by: Catalyst IT >--- > .../prog/en/modules/admin/branches.tt | 26 ++++++++++++-------- > 1 file changed, 16 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 8c66bed..fd004d5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -228,7 +228,6 @@ tinyMCE.init({ > <th>Properties</th> > <th>IP</th> > <th> </th> >- <th> </th> > </tr> > </thead> > <tbody> >@@ -270,10 +269,14 @@ tinyMCE.init({ > </td> > <td>[% library.branchip %]</td> > <td> >- <a href="/cgi-bin/koha/admin/branches.pl?op=add_form&branchcode=[% library.branchcode %]">Edit</a> >- </td> >- <td> >- <a href="/cgi-bin/koha/admin/branches.pl?op=delete_confirm&branchcode=[% library.branchcode %]">Delete</a> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="libraryactions[% library.branchcode %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="libraryactions[% library.branchcode %]"> >+ <li><a href="/cgi-bin/koha/admin/branches.pl?op=add_form&branchcode=[% library.branchcode %]"><i class="fa fa-pencil"></i> Edit</a></li> >+ <li><a href="/cgi-bin/koha/admin/branches.pl?op=delete_confirm&branchcode=[% library.branchcode %]"><i class="fa fa-trash"></i> Delete</a></li> >+ </ul> >+ </div> > </td> > </tr> > [% END %] >@@ -294,7 +297,6 @@ tinyMCE.init({ > <th>Code</th> > <th>Description</th> > <th> </th> >- <th> </th> > </tr> > </thead> > <tbody> >@@ -304,10 +306,14 @@ tinyMCE.init({ > <td>[% category.categorycode %]</td> > <td>[% category.codedescription %]</td> > <td> >- <a href="/cgi-bin/koha/admin/branches.pl?categorycode=[% category.categorycode %]&op=add_form_category">Edit</a> >- </td> >- <td> >- <a href="/cgi-bin/koha/admin/branches.pl?categorycode=[% category.categorycode %]&op=delete_confirm_category">Delete</a> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="libraryactions[% library.branchcode %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="libraryactions[% library.branchcode %]"> >+ <li><a href="/cgi-bin/koha/admin/branches.pl?categorycode=[% category.categorycode %]&op=add_form_category"><i class="fa fa-pencil"></i> Edit</a></li> >+ <li><a href="/cgi-bin/koha/admin/branches.pl?categorycode=[% category.categorycode %]&op=delete_confirm_category"><i class="fa fa-trash"></i> Delete</a></li> >+ </ul> >+ </div> > </td> > </tr> > [% END %] >-- >1.7.10.4
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 15995
:
48722
|
48828
|
48904
|
49049
|
49050
|
49067
|
49117
|
49118