Bugzilla – Attachment 9661 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.47 KB, created by
Chris Cormack
on 2012-05-19 19:09:16 UTC
(
hide
)
Description:
Bug 7889 [Acquisitions] Use standard style for errors and messages
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-05-19 19:09:16 UTC
Size:
2.47 KB
patch
obsolete
>From 69be323ba7dfa718935f343f9660ea46e685c374 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 > >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. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > .../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.10
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