Bugzilla – Attachment 9707 Details for
Bug 8122
Add a link to new library group creation from empty groups message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8122 - Followup: Add a link to new library group creation from empty groups message
0001-SIGNED-OFF-Bug-8122-Followup-Add-a-link-to-new-libra.patch (text/plain), 3.43 KB, created by
Owen Leonard
on 2012-05-22 17:22:48 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8122 - Followup: Add a link to new library group creation from empty groups message
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-05-22 17:22:48 UTC
Size:
3.43 KB
patch
obsolete
>From 82afec845e29f85bcd287eed9deec6493ea47070 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 22 May 2012 11:46:34 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 8122 - Followup Add a link to new library > group creation from empty groups message >Content-Type: text/plain; charset="utf-8" > >Set outside tables the "no group defined" message. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/modules/admin/branches.tt | 56 ++++++++++++-------- > 1 file 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 %] > <h3>Group(s): [% IF ( branchcategorie.properties ) %]Properties[% ELSE %][% IF ( branchcategorie.searchdomain ) %]Search domain[% END %][% END %]</h3> >- <table> >- <tr> >- <th>Name</th> >- <th>Code</th> >- <th>Description</th> >- <th> </th> >- <th> </th> >- </tr> >-[% IF ( branchcategorie.catloop ) %][% FOREACH catloo IN branchcategorie.catloop %] >- <tr> >- <td>[% catloo.categoryname %]</td> >- <td>[% catloo.categorycode %]</td> >- <td>[% catloo.codedescription %]</td> >- <td><a href="[% catloo.action %]?op=editcategory&categorycode=[% catloo.categorycode |url %]">Edit</a> >- </td> >- <td><a href="[% catloo.action %]?op=delete_category&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. <a href="/cgi-bin/koha/admin/branches.pl?op=editcategory">Add a new group</a>.</td></tr>[% END %] >- </table> >- [% END %] >+ [% IF ( branchcategorie.catloop ) %] >+ <table> >+ <thead> >+ <tr> >+ <th>Name</th> >+ <th>Code</th> >+ <th>Description</th> >+ <th> </th> >+ <th> </th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH catloo IN branchcategorie.catloop %] >+ <tr> >+ <td>[% catloo.categoryname %]</td> >+ <td>[% catloo.categorycode %]</td> >+ <td>[% catloo.codedescription %]</td> >+ <td> >+ <a href="[% catloo.action %]?op=editcategory&categorycode=[% catloo.categorycode |url %]">Edit</a> >+ </td> >+ <td> >+ <a href="[% catloo.action %]?op=delete_category&categorycode=[% catloo.categorycode |url %]">Delete</a> >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ </table> > [% ELSE %] >- <p>No groups defined.</p> >- [% END %] <!-- NAME="branchcategories" --> >+ 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>. >+ [% END %] >+ [% END %] >+ [% ELSE %] >+ <p>No groups defined.</p> >+ [% END %] <!-- NAME="branchcategories" --> > [% END %] > > [% IF ( editcategory ) %] >-- >1.7.9.5 >
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 8122
:
9639
|
9656
|
9693
| 9707