Bugzilla – Attachment 9658 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 - Use standard style for errors and messages
Bug-7889---Use-standard-style-for-errors-and-messa.patch (text/plain), 1.90 KB, created by
Chris Cormack
on 2012-05-19 19:06:15 UTC
(
hide
)
Description:
Bug 7889 - Use standard style for errors and messages
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-05-19 19:06:15 UTC
Size:
1.90 KB
patch
obsolete
>From c2ae754ad0f912c3970f044769bacf1ddf618e4f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 17 May 2012 11:24:06 -0400 >Subject: [PATCH] Bug 7889 - Use standard style for errors and messages > >Styling subscription renew message according to standard style. >Also: > - Adding direct link to renew from message suggesting renew. > - Adding output of expiration date to message. > >To test open a subscription with an impending expiration. You >should see a dialog-styled message, "Subscription will expire XX/XX/XXXX. >Renew this subscription." > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > .../intranet-tmpl/prog/en/modules/serials/subscription-detail.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >index ebf2afc..93e28d4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >@@ -34,6 +34,10 @@ function popup(subscriptionid) { > } > $(document).ready(function() { > $("#subscription_description > ul").tabs(); >+ $("#renewsub").click(function(){ >+ popup([% subscriptionid %]); >+ return false; >+ }) > }); > //]]> > </script> >@@ -52,7 +56,7 @@ $(document).ready(function() { > [% INCLUDE 'serials-toolbar.inc' %] > > <h1>Subscription for [% bibliotitle %] </h1> >- [% IF ( abouttoexpire ) %]<div class="problem">Subscription is near its end. It should be renewed now.</div>[% END %] >+ [% IF ( abouttoexpire ) %]<div class="dialog message">Subscription will expire [% enddate %]. <a href="#" id="renewsub">Renew this subscription</a>.</div>[% END %] > [% IF ( NEEDSCONFIRMATION ) %] > <div id="circ_needsconfirmation" class="dialog alert"> > <h3>Please Confirm Subscription deletion</h3> >-- >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