From d2392ef5833ad1635c6f7a25a6ce5432f5e390b9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 22 May 2012 11:46:34 +0200 Subject: [PATCH 1/1] Bug 8122 - Followup Add a link to new library group creation from empty groups message Set outside tables the "no group defined" message. --- .../prog/en/modules/admin/branches.tt | 56 ++++++++++++-------- 1 files changed, 33 insertions(+), 23 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index 42b364c..15e8064 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -269,30 +269,40 @@ tinyMCE.init({ [% IF ( branchcategories ) %] [% FOREACH branchcategorie IN branchcategories %]

Group(s): [% IF ( branchcategorie.properties ) %]Properties[% ELSE %][% IF ( branchcategorie.searchdomain ) %]Search domain[% END %][% END %]

- - - - - - - - -[% IF ( branchcategorie.catloop ) %][% FOREACH catloo IN branchcategorie.catloop %] - - - - - - - - [% END %][% ELSE %][% END %] -
NameCodeDescription  
[% catloo.categoryname %][% catloo.categorycode %][% catloo.codedescription %]Edit - Delete -
No [% IF ( branchcategorie.properties ) %]properties[% ELSIF ( branchcategorie.searchdomain ) %]search domain[% END %] defined. Add a new group.
- [% END %] + [% IF ( branchcategorie.catloop ) %] + + + + + + + + + + + + [% FOREACH catloo IN branchcategorie.catloop %] + + + + + + + + [% END %] + +
NameCodeDescription  
[% catloo.categoryname %][% catloo.categorycode %][% catloo.codedescription %] + Edit + + Delete +
[% ELSE %] -

No groups defined.

- [% END %] + No [% IF ( branchcategorie.properties ) %]properties[% ELSIF ( branchcategorie.searchdomain ) %]search domain[% END %] defined. Add a new group. + [% END %] + [% END %] + [% ELSE %] +

No groups defined.

+ [% END %] [% END %] [% IF ( editcategory ) %] -- 1.7.7.3