Bugzilla – Attachment 51725 Details for
Bug 16525
Add cancel button when adding a new acq budget
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16525: Have cancel button when adding new aq budget
Bug-16525-Have-cancel-button-when-adding-new-aq-bu.patch (text/plain), 2.13 KB, created by
Aleisha Amohia
on 2016-05-24 01:24:40 UTC
(
hide
)
Description:
Bug 16525: Have cancel button when adding new aq budget
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-05-24 01:24:40 UTC
Size:
2.13 KB
patch
obsolete
>From d85eeacf756f81817f67d23640b0f6cb598b1a5f Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Mon, 16 May 2016 01:10:43 +0000 >Subject: [PATCH] Bug 16525: Have cancel button when adding new aq budget > >At the moment you only see the cancel button on the form if editing an existing budget. This patch adds a cancel button to the form which adds a budget. Also changes the wording of the save button from 'Save changes' to just 'Save' so it makes more sense when adding a new budget > >To test: >1) Go to Admin -> Budgets -> New budget >2) Notice 'Save changes' button and no cancel >3) Apply patch and refresh page >4) Notice 'Save' button and 'cancel' link >5) Click 'cancel' - should be taken to Budgets administration page >6) Edit an existing budget >7) Click 'cancel' - should be taken to the funds page for that budget > >Sponsored-by: Catalyst IT >--- > .../intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >index 814354a..bc468a1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >@@ -378,9 +378,13 @@ > <fieldset class="action"> > <!-- "save changes" button --> > <!-- ###################################### --> >- <input type="button" value="Save changes" onclick="Check(this.form)" /> >+ <input type="button" value="Save" onclick="Check(this.form)" /> > <!-- <input type="submit" value="Save Changes" /> --> >- [% IF ( budget_period_id ) %]<a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id %]" class="cancel">Cancel</a>[% END %] >+ [% IF ( budget_period_id ) %] >+ <a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id %]" class="cancel">Cancel</a> >+ [% ELSE %] >+ <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl" class="cancel">Cancel</a> >+ [% END %] > </fieldset> > > </form> >-- >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 16525
:
51507
|
51725
|
51772
|
51784
|
51786
|
51802