Bugzilla – Attachment 9632 Details for
Bug 7889
Use standard style for errors and messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7889 [Acquisitions] Use standard style for errors and messages
Bug-7889-Acquisitions-Use-standard-style-for-error.patch (text/plain), 2.45 KB, created by
Owen Leonard
on 2012-05-17 19:14:02 UTC
(
hide
)
Description:
Bug 7889 [Acquisitions] Use standard style for errors and messages
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-05-17 19:14:02 UTC
Size:
2.45 KB
patch
obsolete
>From d9d99277d340909219d777bbfe62266425e1a517 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 17 May 2012 15:09:42 -0400 >Subject: [PATCH] Bug 7889 [Acquisitions] Use standard style for errors and > messages >Content-Type: text/plain; charset="utf-8" > >Correcting style of the warning on the Acquisitions home page >which appears if no budgets have been defined. > >Also correcting the logic by which the warning appears, as a >change to the script inadvertently prevented it. >--- > .../prog/en/modules/acqui/acqui-home.tt | 21 ++++++++------------ > 1 file changed, 8 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >index f0e2942..7a44420 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt >@@ -41,27 +41,22 @@ $(document).ready(function() { > <div class="yui-g"> > <div class="yui-u first"> > <div id="acqui_acqui_home_order"> >- <fieldset> >- <legend>Manage orders</legend> >- [% IF ( nobudget ) %] >+ >+ [% UNLESS ( loop_budget ) %] > [% IF ( CAN_user_parameters ) %] >- <span class="problem">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</span> >+ <div class="dialog alert">You must <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget</a> in Administration</div> > [% ELSE %] >- <span class="problem">Your administrator must define a budget in Administration</span> >+ <div class="dialog alert">Your administrator must define a budget in Administration</div> > [% END %] >- <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post"> >- <p><label for="supplierpage">Vendor </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" /> >- <input type="submit" value="Search" /> >- </p> >- </form> >- [% ELSE %] >+ [% END %] >+ >+ <fieldset> >+ <legend>Manage orders</legend> > <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post"> > <p><label for="supplierpage">Vendor: </label><input type="text" size="25" name="supplier" id="supplierpage" class="focus" /> > <input type="submit" value="Search" /> > </p> > </form> >- >- [% END %] > </fieldset> > </div> > >-- >1.7.9.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 7889
:
9629
|
9630
|
9631
|
9632
|
9658
|
9659
|
9660
|
9661
|
11085
|
11105