Bugzilla – Attachment 10007 Details for
Bug 8184
Duplicate budget page lacks heading and breadcrumbs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8184 - Duplicate budget page lacks heading and breadcrumbs
0001-Bug-8184-Duplicate-budget-page-lacks-heading-and-bre.patch (text/plain), 4.32 KB, created by
Martin Renvoize (ashimema)
on 2012-06-09 10:45:20 UTC
(
hide
)
Description:
Bug 8184 - Duplicate budget page lacks heading and breadcrumbs
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2012-06-09 10:45:20 UTC
Size:
4.32 KB
patch
obsolete
>From 310e1ea180557a13ce02e145d6a962baf19859de Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 5 Jun 2012 12:54:52 -0400 >Subject: [PATCH] Bug 8184 - Duplicate budget page lacks heading and breadcrumbs >Content-Type: text/plain; charset="utf-8" > >Adding title, heading, and breadcrumbs for "duplicate a budget" >operation. Also: > - adding cancel link for duplicate and edit > - correcting the CSS so that the "edit" menu button > is styled like an edit button. >operations. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 5 +++-- > .../prog/en/modules/admin/aqbudgetperiods.tt | 12 ++++++++---- > 2 files changed, 11 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index e591a73..96c8b7e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -905,7 +905,7 @@ fieldset.rows .inputnote { > visibility:visible; /* you propably don't need to change this one */ > display:block; > } >-#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newlabelbatch a, #newpatroncardbatch a, #newprofile a, #newsubscription a, #newdictionary a, #newbasket a, #newrootbudget-button, #budgets_menuc .first-child, #periods_menuc .first-child { >+#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newlabelbatch a, #newpatroncardbatch a, #newprofile a, #newsubscription a, #newdictionary a, #newbasket a, #newrootbudget-button, #budgets_menuc .first-child { > padding-left : 34px; > background-image: url("../../img/toolbar-new.gif"); > background-position : center left; >@@ -943,7 +943,8 @@ fieldset.rows .inputnote { > #managelabel a, > #managetemplate a, > #managelabelbatch a, >-#manageprofile a { >+#manageprofile a, >+#periods_menuc .first-child { > padding-left : 34px; > background-image: url("../../img/toolbar-edit.gif"); > background-position : center left; >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 aae5925..4b25992 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt >@@ -89,7 +89,7 @@ > Add budget > [% END %] > [% END %] >- >+ [% IF ( duplicate_form ) %]› Duplicate budget[% END %] > [% IF ( delete_confirm ) %]› > Delete budget '[% budget_period_description %]'? > [% END %] >@@ -136,7 +136,10 @@ > Delete budget '[% budget_period_description %]'? > [% END %] > [% END %] >- >+ <!-- duplicate a budget --> >+ [% IF ( duplicate_form ) %] >+ <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a> › Duplicate budget >+ [% END %] > <!-- display budget periods list --> > <!-- ########################################## --> > [% IF ( else ) %] >@@ -152,6 +155,7 @@ > [% INCLUDE 'budgets-admin-toolbar.inc' %] > > [% IF ( duplicate_form ) %] >+<h3>Duplicate budget</h3> > <form action="/cgi-bin/koha/admin/aqbudgetperiods.pl" name="f" method="post"> > <fieldset class="rows"> > <input type="hidden" name="op" value="duplicate_budget" /> >@@ -195,7 +199,7 @@ > </fieldset> > > <fieldset class="action"> >- <input type="button" value="Save Changes" onclick="CheckDuplicateForm(this.form)" /> >+ <input type="button" value="Save Changes" onclick="CheckDuplicateForm(this.form)" /> <a class="cancel" href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id %]">Cancel</a> > </fieldset> > > </form> >@@ -287,7 +291,7 @@ > <!-- ###################################### --> > <input type="button" value="Save changes" onclick="Check(this.form)" /> > <!-- <input type="submit" value="Save Changes" /> --> >- <!-- <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl" class="cancel">Cancel</a> --> >+ [% IF ( budget_period_id ) %]<a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% budget_period_id %]" class="cancel">Cancel</a>[% END %] > </fieldset> > > </form> >-- >1.7.2.5 >
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 8184
:
9926
| 10007