Bugzilla – Attachment 25281 Details for
Bug 11763
Consolidate fund action links into menu
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11763 - Consolidate fund action links into menu
Bug-11763---Consolidate-fund-action-links-into-men.patch (text/plain), 3.00 KB, created by
Jonathan Druart
on 2014-02-14 16:02:18 UTC
(
hide
)
Description:
Bug 11763 - Consolidate fund action links into menu
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-02-14 16:02:18 UTC
Size:
3.00 KB
patch
obsolete
>From 955e1df9aff1de5006c695e952f30e11d2d4bf5d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 14 Feb 2014 09:53:41 -0500 >Subject: [PATCH] Bug 11763 - Consolidate fund action links into menu > >This patch moves the fund Edit/Delete/Add child links on the fund view >into a pop-up menu, allow the table to be more compact and the links to >be more distinct. > >To test you must apply the patches on Bug 11578 if necessary. > >Apply the patch and view the funds list page (Administration -> Funds). >For each line there should be an "Actions" menu containing the >Edit/Delete/Add cihld links. Each should function correctly. Test with >inactive budgets shown and hidden. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >It is unusual to open the action list above the button, but it works. >--- > .../intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index fd4a2d8..55e8745 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -331,9 +331,16 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") > <td> <span style="color: gray;"> Edit Delete </span> </td> > [% ELSE %] > <td> >- <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_id=[% budget.budget_id %]&budget_period_id=[% budget.budget_period_id %]" >Edit</a> >- <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=delete_confirm&budget_id=[% budget.budget_id %]&budget_period_id=[% budget.budget_period_id %]">Delete</a> >- <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_parent_id=[% budget.budget_id %]&budget_period_id=[% budget.budget_period_id %]">Add child fund</a> >+ <div class="dropdown dropup"> >+ <a class="btn btn-mini dropdown-toggle" id="budgetactions[% budget.budget_id %]_[% budget.budget_period_id %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b> >+ </a> >+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="budgetactions[% budget.budget_id %]_[% budget.budget_period_id %]"> >+ <li><a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_id=[% budget.budget_id %]&budget_period_id=[% budget.budget_period_id %]" >Edit</a></li> >+ <li><a href="/cgi-bin/koha/admin/aqbudgets.pl?op=delete_confirm&budget_id=[% budget.budget_id %]&budget_period_id=[% budget.budget_period_id %]">Delete</a></li> >+ <li><a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_parent_id=[% budget.budget_id %]&budget_period_id=[% budget.budget_period_id %]">Add child fund</a></li> >+ </ul> >+ </div> > </td> > [% END %] > </tr> >-- >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 11763
:
25273
|
25281
|
27770