Bugzilla – Attachment 56165 Details for
Bug 17402
Enhance the actions button on serials-search.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17402 Enhance the actions button on serials-search.pl
Bug-17402-Enhance-the-actions-button-on-serials-se.patch (text/plain), 3.62 KB, created by
Jesse Maseto
on 2016-10-11 10:25:57 UTC
(
hide
)
Description:
Bug 17402 Enhance the actions button on serials-search.pl
Filename:
MIME Type:
Creator:
Jesse Maseto
Created:
2016-10-11 10:25:57 UTC
Size:
3.62 KB
patch
obsolete
>From c9ad3191da069bb2695a73e4464f085abd032690 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Wed, 5 Oct 2016 12:42:41 +0200 >Subject: [PATCH] Bug 17402 Enhance the actions button on serials-search.pl > >Test plan: >1) Apply the patch >2) Go to serials home page >3) Search for a subscription >4) Ensure you have permission to receive serials >5) In the most right column of table you should see "Receive serial" button with > caret button, that should work as trigger form dropdown menu with other options >6) Ensure that all actions work as expected >7) Login with user without permission to receive serials >8) repeat 2-3 >9) In the most right column of table you should see normal dropdown mane with label "Actions" and all applicable options >10) Ensure that all actions work as expected > >Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com> >--- > .../prog/en/modules/serials/serials-search.tt | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index 2aaa0cd..1822b88 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -210,9 +210,13 @@ > > <td> > <div class="dropdown"> >- <a class="btn btn-mini dropdown-toggle" id="subactions[% subscription.subscriptionid %]" role="button" data-toggle="dropdown" href="#"> >- Actions <b class="caret"></b> >- </a> >+ <div class="btn-group"> >+ [% IF ( CAN_user_serials_receive_serials ) %] >+ <a class="btn btn-mini" role="button" href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscription.subscriptionid %]&serstatus=1,3,7"><i class="fa fa-inbox"></i> Serial receive</a> >+ <a class="btn btn-mini dropdown-toggle" id="subactions[% subscription.subscriptionid %]" role="button" data-toggle="dropdown" href="#"><b class="caret"></b></a> >+ [% ELSE %] >+ <a class="btn btn-mini dropdown-toggle" id="subactions[% subscription.subscriptionid %]" role="button" data-toggle="dropdown" href="#">Actions <b class="caret"></b></a> >+ [% END %] > <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="subactions[% subscription.subscriptionid %]"> > > [% IF ( routing && CAN_user_serials_routing ) %] >@@ -233,12 +237,8 @@ > <li> > <a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid %]"><i class="fa fa-list-alt"></i> Issue history</a> > </li> >- [% IF ( CAN_user_serials_receive_serials ) %] >- <li> >- <a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscription.subscriptionid %]&serstatus=1,3,7"> <i class="fa fa-inbox"></i> Serial receive</a> >- </li> >- [% END %] > </ul> >+ </div> > </div> > </td> > >-- >2.1.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 17402
:
56051
|
56165
|
56761