Bugzilla – Attachment 136316 Details for
Bug 30936
Reindent authority detail template in staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30936: (follow-up) Add markup comments
Bug-30936-follow-up-Add-markup-comments.patch (text/plain), 3.02 KB, created by
David Nind
on 2022-06-17 22:14:23 UTC
(
hide
)
Description:
Bug 30936: (follow-up) Add markup comments
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-06-17 22:14:23 UTC
Size:
3.02 KB
patch
obsolete
>From 5331e8cc302d295f6359a375f1428f2b0e82888b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 9 Jun 2022 18:30:10 +0000 >Subject: [PATCH] Bug 30936: (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: David Nind <david@davidnind.com> >--- > .../prog/en/modules/authorities/detail.tt | 24 +++++++++---------- > 1 file changed, 12 insertions(+), 12 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >index 550046cf69..bbc1cc892b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt >@@ -92,10 +92,10 @@ > [% IF (innerloo.tag_desc) %] > <span class="dashwrapper"> -</span> <span class="tag_desc marc_field">[% innerloo.tag_desc | html %]</span> > [% END %] >- </div> >+ </div> <!-- /.tag_title --> > [% ELSE %] > <div class="tag"> >- [% END %] >+ [% END # /IF ( innerloo.tag_number ) %] > > [% FOREACH subfiel IN innerloo.subfield %] > <div class="auth_subfield"> >@@ -115,16 +115,16 @@ > </span> > </div> <!-- /.subfield_content.marc_field --> > </div> <!-- /.auth_subfield --> >- [% END %] >- </div> >- [% END %] >- </div> >- [% END %] >+ [% END #/FOREACH subfiel %] >+ </div> <!-- /.tag --> >+ [% END # /FOREACH innerloo %] >+ </div> <!-- /.tab-pane --> >+ [% END # /FOREACH BIG_LOO %] > </div> <!-- /.tab-content --> >- </div> >- [% END %] >- </div> >- </div> >+ </div> <!-- /#authoritiestabs --> >+ [% END # /IF ( unknownauthid ) %] >+ </div> <!-- /.col-md-8 col-md-offset-2 --> >+ </div> <!-- /.row --> > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'authorities_js.inc' %] >@@ -163,7 +163,7 @@ > e.preventDefault(); > document.location.href = data.node.a_attr.href; > }); >- [% END %] >+ [% END # /IF ( displayhierarchy ) %] > }); > </script> > [% END %] >-- >2.30.2
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 30936
:
135911
|
135912
|
136315
|
136316
|
136318
|
136319