From 0e1a494394d9b9c93dc2df8c72695446bfbb069b Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Sun, 20 Oct 2013 20:54:25 +0200 Subject: [PATCH] Bug 11019 follow-up : reindenting While working on bug 11019, I saw many tabs & silly indenting. This patch fixes both Signed-off-by: Joy Nelson --- .../prog/en/modules/admin/authorised_values.tt | 170 ++++++++++---------- 1 files changed, 88 insertions(+), 82 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt index 0628d20..f0258e8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -1,7 +1,7 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Authorized values [% IF ( add_form ) %] › [% IF ( action_modify ) %]Modify authorized value[% END %] - [% IF ( action_add_value ) %] › New authorized value[% END %] - [% IF ( action_add_category ) %] › New category[% END %][% END %] +[% IF ( action_add_value ) %] › New authorized value[% END %] +[% IF ( action_add_category ) %] › New category[% END %][% END %] [% IF ( delete_confirm ) %] › Confirm deletion[% END %] [% IF ( else ) %]Authorized values[% END %] [% INCLUDE 'doc-head-close.inc' %] @@ -43,9 +43,9 @@ $(document).ready(function() { [% END %] @@ -53,51 +53,52 @@ $(document).ready(function() { [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
-
-
+
+
[% IF ( add_form ) %] -

- [% IF ( action_modify ) %]Modify authorized value[% END %] - [% IF ( action_add_value ) %]New authorized value[% END %] - [% IF ( action_add_category ) %]New category[% END %] -

+

+ [% IF ( action_modify ) %]Modify authorized value[% END %] + [% IF ( action_add_value ) %]New authorized value[% END %] + [% IF ( action_add_category ) %]New category[% END %] +

[% IF ( action_modify ) %]
NOTE: If you change an authorized value, existing records using it won't be updated.
[% END %] -
- + + -
    +
    +
    1. - [% IF ( action_add_category ) %] - - [% ELSE %]Category - [% category %] - [% END %] + [% IF ( action_add_category ) %] + + [% ELSE %]Category + [% category %] + [% END %]
    2. - [% IF ( action_modify ) %][% END %] + [% IF ( action_modify ) %][% END %] [% IF ( action_add_category ) %] - + [% ELSE %] - + [% END %]
    3. -
    4. +
    5. @@ -116,37 +117,40 @@ $(document).ready(function() { -
    +
Choose an icon:
- +

[% FOREACH imageset IN imagesets %] -
    +
    +
      [% FOREACH image IN imageset.images %] -
    • -
    • + -
    • - [% END %]
    + + [% END %] +

[% END %] @@ -159,27 +163,28 @@ $(document).ready(function() { [% IF ( delete_confirm ) %] -
-

Confirm deletion

- - - - - - - - - - - - - -
CategoryValueDescriptionDescription (OPAC)
[% searchfield %][% Tvalue %][% Tlib %][% Tlib_opac %]
- - - +
+

Confirm deletion

+ + + + + + + + + + + + + +
CategoryValueDescriptionDescription (OPAC)
[% searchfield %][% Tvalue %][% Tlib %][% Tlib_opac %]
+ + +
-
+
+
[% END %] @@ -241,14 +246,14 @@ $(document).ready(function() { [% IF ( loop ) %] - - - - + + + + - - - + + + [% FOREACH loo IN loop %] [% UNLESS ( loop.odd ) %] @@ -256,10 +261,10 @@ $(document).ready(function() { [% ELSE %] [% END %] - - - - + + + + - - + + [% END %]
Authorized valueDescriptionDescription (OPAC)IconAuthorized valueDescriptionDescription (OPAC)Icon Branches limitationsEditDelete
EditDelete
[% loo.authorised_value %][% loo.lib %][% loo.lib_opac %][% IF ( loo.imageurl ) %][% ELSE %] [% END %][% loo.authorised_value %][% loo.lib %][% loo.lib_opac %][% IF ( loo.imageurl ) %][% ELSE %] [% END %] [% IF loo.branches.size > 0 %] [% branches_str = "" %] @@ -276,8 +281,8 @@ $(document).ready(function() { No limitation [% END %] EditDeleteEditDelete
[% ELSE %] @@ -286,8 +291,9 @@ $(document).ready(function() { [% IF ( isprevpage ) %]
- -
+ + + [% END %] [% END %] -- 1.7.2.5