Bug 8122 - Add a link to new library group creation from empty groups message
authorOwen Leonard <oleonard@myacpl.org>
Fri, 18 May 2012 13:42:13 +0000 (09:42 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 28 May 2012 13:51:12 +0000 (15:51 +0200)
When there are no groups, add a link to group creation from
the message, "No properties defined."

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt

index bedeb8b..42b364c 100644 (file)
@@ -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 %]