Bugzilla – Attachment 129632 Details for
Bug 29867
Reindent authorized values administration template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29867: (follow-up) Add markup comments
Bug-29867-follow-up-Add-markup-comments.patch (text/plain), 5.82 KB, created by
Lucas Gass (lukeg)
on 2022-01-19 23:30:01 UTC
(
hide
)
Description:
Bug 29867: (follow-up) Add markup comments
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2022-01-19 23:30:01 UTC
Size:
5.82 KB
patch
obsolete
>From 2ff0cc2947061b3512fc91c1d2367e8e20f76b26 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 12 Jan 2022 19:05:02 +0000 >Subject: [PATCH] Bug 29867: (follow-up) Add markup comments > >This patch adds comments to the template to highlight the markup >structure. > >This patch should have no effect on the page's appearance or >functionality. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../en/modules/admin/authorised_values.tt | 30 +++++++++---------- > 1 file changed, 15 insertions(+), 15 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 54bd6269d0..aa09e7603e 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 >@@ -75,9 +75,9 @@ > Authorized values > </a> > </li> >- [% END %] >+ [% END # /IF op == 'add_form' %] > </ol> >-</nav> >+</nav> <!-- /#breadcrumbs --> > > <div class="main container-fluid"> > <div class="row"> >@@ -143,7 +143,6 @@ > </select> > <div class="hint">Select 'All libraries' if this authorized value must be displayed all the time. Otherwise select libraries you want to associate with this value.</div> > </li> >- > </ol> > > <div id="icons" class="toptabs" style="clear:both"> >@@ -183,21 +182,22 @@ > [% END %] > </label> > </li> >- [% END %] >+ [% END # /FOREACH image %] > </ul> > <br class="clear" /> > </div> >- [% END %] >- </div> >- [% END %] >+ [% END # /FOREACH imageset %] >+ </div> <!-- /#icons --> >+ [% END # /IF action_add_category %] > </fieldset> >+ > <fieldset class="action"> > <input type="hidden" name="id" value="[% id | html %]" /> > <input type="submit" value="Save" /> > <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | url %]">Cancel</a> > </fieldset> > </form> >- [% END %] >+ [% END # /IF op == 'add_form' %] > > [% IF op == 'list' %] > <div id="toolbar" class="btn-toolbar"> >@@ -251,7 +251,7 @@ > [% m.code | html %] > [% END %] > </div> >- [% END %] >+ [% END # /FOR m IN messages %] > > [% IF ( searchfield ) %] > >@@ -268,7 +268,7 @@ > [% END %] > </select> > </p> >- </form> >+ </form> <!-- /#category --> > > [% IF loop %] > <table id="categoriest" class="authorized_values_table"> >@@ -308,14 +308,14 @@ > [% END %] > [% ELSE %] > No limitation >- [% END %] >+ [% END # /IF loo.branches.size > 0 %] > </td> > <td class="actions"><a href="/cgi-bin/koha/admin/authorised_values.pl?op=add_form&id=[% loo.id | uri %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> > <a class="delete btn btn-default btn-xs" href="/cgi-bin/koha/admin/authorised_values.pl?op=delete&searchfield=[% searchfield | uri %]&id=[% loo.id | uri %]"><i class="fa fa-trash"></i> Delete</a></td> > </tr> > [% END # /FOREACH loop %] > </tbody> >- </table> >+ </table> <!-- /#categoriest --> > [% ELSE %] > <div class="dialog message"> > <p>There are no authorized values defined for [% category.category_name | html %]</p> >@@ -332,7 +332,7 @@ > </form> > [% END %] > </div> >- [% END %] >+ [% END # /IF loop %] > > [% ELSE # category was selected %] > >@@ -355,9 +355,9 @@ > <a id="addauth" class="btn btn-default btn-xs" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=[% c | uri %]"><i class="fa fa-plus"> </i> Add</a> > </td> > </tr> >- [% END %] >+ [% END # /FOR c %] > </tbody> >- </table> >+ </table> <!-- /#categoriest --> > > [% END # /IF ( searchfield )%] > >-- >2.20.1
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 29867
:
129361
|
129362
|
129631
|
129632
|
130062
|
130063
|
130444
|
130445