Bugzilla – Attachment 27523 Details for
Bug 11588
Untranslatable subscription frequency units
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow translating the subscription frequency units in the template
0001-Bug-11588-Untranslatable-subscription-frequency-unit.patch (text/plain), 2.02 KB, created by
paxed
on 2014-04-24 10:28:58 UTC
(
hide
)
Description:
Allow translating the subscription frequency units in the template
Filename:
MIME Type:
Creator:
paxed
Created:
2014-04-24 10:28:58 UTC
Size:
2.02 KB
patch
obsolete
>From e1a1cad2fdf9914a0844c3580bda5c3294a1138e Mon Sep 17 00:00:00 2001 >From: Pasi Kallinen <pasi.kallinen@pttk.fi> >Date: Thu, 24 Apr 2014 13:20:06 +0300 >Subject: [PATCH] Bug 11588: Untranslatable subscription frequency units > >--- > .../prog/en/modules/serials/subscription-frequencies.tt | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >index a9a07d6..db8da0e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >@@ -70,6 +70,15 @@ $(document).ready(function() { > [% INCLUDE 'header.inc' %] > [% INCLUDE 'serials-search.inc' %] > >+[% BLOCK translate_frequnit %] >+[% SWITCH frequnit %] >+[% CASE 'day' %] day >+[% CASE 'week' %] week >+[% CASE 'month' %] month >+[% CASE 'year' %] year >+[% END %] >+[% END %] >+ > <div id="breadcrumbs"> > <a href="/cgi-bin/koha/mainpage.pl">Home</a> › > <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › >@@ -110,7 +119,7 @@ $(document).ready(function() { > [% ELSE %] > <option value="[% unit.val %]"> > [% END %] >- [% unit.val %] >+ [% PROCESS translate_frequnit frequnit=unit.val %] > </option> > [% END %] > </select> >@@ -189,7 +198,7 @@ $(document).ready(function() { > [% FOREACH frequency IN frequencies_loop %] > <tr> > <td>[% frequency.description %]</td> >- <td>[% frequency.unit %]</td> >+ <td>[% PROCESS translate_frequnit frequnit=frequency.unit %]</td> > <td>[% frequency.issuesperunit %]</td> > <td>[% frequency.unitsperissue %]</td> > <td>[% frequency.displayorder %]</td> >-- >1.8.3.2 >
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 11588
:
24892
|
27523
|
27545
|
27630