[Koha-patches] [PATCH] Bug 8122 - Add a link to new library group creation from empty groups message

Owen Leonard oleonard at myacpl.org
Fri May 18 15:44:21 CEST 2012


When there are no groups, add a link to group creation from
the message, "No properties defined."
---
 .../prog/en/modules/admin/branches.tt              |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 bedeb8b..42b364c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
@@ -287,7 +287,7 @@ tinyMCE.init({
         <td><a href="[% catloo.action %]?op=delete_category&amp;categorycode=[% catloo.categorycode |url %]">Delete</a>
         </td>
         </tr>
-    [% END %][% ELSE %]<tr><td colspan="5">No [% IF ( branchcategorie.properties ) %]properties[% ELSIF ( branchcategorie.searchdomain ) %]search domain[% END %] defined</td></tr>[% END %]
+    [% END %][% ELSE %]<tr><td colspan="5">No [% IF ( branchcategorie.properties ) %]properties[% ELSIF ( branchcategorie.searchdomain ) %]search domain[% END %] defined. <a href="/cgi-bin/koha/admin/branches.pl?op=editcategory">Add a new group</a>.</td></tr>[% END %]
     </table>
     [% END %]
     [% ELSE %]
-- 
1.7.9.5



More information about the Koha-patches mailing list