Bugzilla – Attachment 96384 Details for
Bug 7882
Add ability to move and reorder fields and subfields in MARC editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7882: (follow-up) Only show sortable icon for sortable tags
Bug-7882-follow-up-Only-show-sortable-icon-for-sor.patch (text/plain), 3.34 KB, created by
Owen Leonard
on 2019-12-17 15:23:53 UTC
(
hide
)
Description:
Bug 7882: (follow-up) Only show sortable icon for sortable tags
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-12-17 15:23:53 UTC
Size:
3.34 KB
patch
obsolete
>From 64d0416a3732ecb5c899c5cf3a4be9ad11e526ec Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 17 Dec 2019 15:19:56 +0000 >Subject: [PATCH] Bug 7882: (follow-up) Only show sortable icon for sortable > tags > >Only tags which can be repeated can be sorted, so the "bars" icon should >not display by these tags. >--- > koha-tmpl/intranet-tmpl/prog/css/addbiblio.css | 13 +++++++++++-- > .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 12 ++++++++++-- > 2 files changed, 21 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >index 99ade19239b..ff79659a965 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css >@@ -15,7 +15,7 @@ div#toolbar { > margin: .3em 0; > } > >-ul.sortable_field, ul.sortable_subfield { >+.ui-tabs-panel ul { > margin-bottom: 0; > padding-left: 0; > } >@@ -26,7 +26,16 @@ ul li.tag, ul li.tag li.subfield_line { > padding-left: 30px; > } > >-ul li.tag::before, >+ul li.tag::before { >+ position: absolute; >+ font-size: .8em; >+ top: 0; >+ left: 10px; >+ content: " "; >+} >+ >+ >+ul li.tag.sortable_tag::before, > ul li.tag li.subfield_line::before { > color: #999; > cursor: move; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index 473556a4858..1d0b55e5602 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -675,9 +675,17 @@ > </ul> > [% END %] > [% previous = innerloo.tag %] >- <ul class="sortable_field"> >+ [% IF ( innerloo.repeatable ) %] >+ <ul class="sortable_field"> >+ [% ELSE %] >+ <ul> >+ [% END %] > [% END %] >- <li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> >+ [% IF ( innerloo.repeatable ) %] >+ <li class="tag sortable_tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> >+ [% ELSE %] >+ <li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> >+ [% END %] > <div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> > [% IF advancedMARCEditor %] > <a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a> >-- >2.11.0
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 7882
:
13184
|
13556
|
13789
|
14202
|
14908
|
18024
|
18025
|
18026
|
18027
|
22835
|
22836
|
23517
|
23521
|
23984
|
24227
|
24228
|
94638
|
94837
|
96344
|
96352
|
96384
|
96541
|
96542
|
96633
|
96634
|
96635