Bugzilla – Attachment 63937 Details for
Bug 18649
Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18649: [QA followup] Simplify If and remove chomps in admin/categories.tt
Bug-18649-QA-followup-Simplify-If-and-remove-chomp.patch (text/plain), 2.83 KB, created by
Marc Véron
on 2017-06-02 11:19:11 UTC
(
hide
)
Description:
Bug 18649: [QA followup] Simplify If and remove chomps in admin/categories.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-06-02 11:19:11 UTC
Size:
2.83 KB
patch
obsolete
>From edbea9dfd0f119caaf5928db2749154c75f0797d Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Sat, 27 May 2017 07:00:04 +0200 >Subject: [PATCH] Bug 18649: [QA followup] Simplify If and remove chomps in > admin/categories.tt > >As of comment #3, the chomps are not needed because the directive has no >surrounding white space that should be removed. > >As of comment #10, the IF statement can be implified > >(Amended 2017-06-02 mv) >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >index c5b8b03..5127457 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >@@ -89,7 +89,7 @@ > <ol> > <li> > <label for="enrolmentperiod" style="width:6em;">In months: </label> >- <input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="[%- category.enrolmentperiod IF category.enrolmentperiod -%]" /> months >+ <input type="text" class="enrollmentperiod" name="enrolmentperiod" id="enrolmentperiod" size="3" maxlength="3" value="[% category.enrolmentperiod %]" /> months > </li> > <li> > <label for="enrolmentperioddate" style="width:6em;">Until date: </label> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt >index 2236955..ee11991 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep2.tt >@@ -101,7 +101,7 @@ > </li> > <li> > <label for="enrolmentperiod">In months: </label> >- <input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="[% category.enrolmentperiod IF category.enrolmentperiod %]" /> >+ <input type="number" class="enrolmentperiod" name="enrolmentperiod" id="enrolmentperiod" min="0" size="3" value="[% category.enrolmentperiod %]" /> > </li> > <li> > <label for="enrolmentperioddate">Until date: </label> >-- >2.1.4
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 18649
:
63626
|
63724
|
63757
|
63937
|
64049
|
64079
|
65494
|
65495
|
65501