Bugzilla – Attachment 48998 Details for
Bug 15991
Moving OAI sets actions into a drop-down menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15991: Moving OAI sets actions into a drop-down menu
Bug-15991-Moving-OAI-sets-actions-into-a-drop-down.patch (text/plain), 3.03 KB, created by
Jonathan Druart
on 2016-03-11 10:19:43 UTC
(
hide
)
Description:
Bug 15991: Moving OAI sets actions into a drop-down menu
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-11 10:19:43 UTC
Size:
3.03 KB
patch
obsolete
>From ceccd3421b11bfff00c18f18b0f47f77564124ca Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Sun, 6 Mar 2016 22:27:08 +0000 >Subject: [PATCH] Bug 15991: Moving OAI sets actions into a drop-down menu > >To test: > >1) Apply Bug 16014 first >2) Go to Administration -> OAI sets >3) Confirm that the actions 'Modify', 'Delete' and 'Define mappings' have been moved into a drop-down menu and buttons behave as expected. >4) Confirm you are asked to confirm on 'Delete' as per Bug 16014 > >Sponsored-by: Catalyst IT > >Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/admin/oai_sets.tt | 16 ++++++++++------ > 1 file changed, 10 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt >index d78dd1f..35405ec 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt >@@ -92,7 +92,7 @@ $(document).ready(function() { > <th>setSpec</th> > <th>setName</th> > <th>setDescriptions</th> >- <th>Action</th> >+ <th> </th> > </tr> > </thead> > <tbody> >@@ -112,11 +112,15 @@ $(document).ready(function() { > [% END %] > </td> > <td> >- <a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&id=[% set.id %]">Modify</a> >- | >- <a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&id=[% set.id %]">Delete</a> >- | >- <a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id %]">Define mappings</a> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="oaisetsactions[% set.id %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id %]"> >+ <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&id=[% set.id %]"><i class="fa fa-pencil"></i> Modify</a></li> >+ <li><a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&id=[% set.id %]"><i class="fa fa-trash"></i> Delete</a></li> >+ <li><a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id %]"><i class="fa fa-info"></i> Define mappings</a></li> >+ </ul> >+ </div> > </td> > </tr> > [% END %] >-- >2.7.0
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 15991
:
48718
|
48824
|
48906
| 48998