Adds a link to the Authority tag to expand the fields if advancedMARCeditor is 
in "Don't display" mode.
---
 .../prog/en/modules/authorities/authorities.tmpl   |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git 
a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl 
b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl
index d50c9f9..72b132f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl
@@ -605,7 +605,11 @@ function searchauthority() {
                 <div class="tag" id="tag_<!-- TMPL_VAR name="tag"-->_<!-- 
TMPL_VAR NAME='index'--><!-- TMPL_VAR name="random" -->">
                 <div class="tag_title" name="div_indicator">
                 <!-- TMPL_UNLESS name="hide_marc" -->
+                   <!-- TMPL_IF NAME="advancedMARCEditor" -->
+                    <a class="tagnum" onclick="ExpandField('tag_<!-- TMPL_VAR 
name="tag"-->_<!-- TMPL_VAR NAME='index'--><!-- TMPL_VAR name="random" 
-->')"><!-- TMPL_VAR NAME="tag" --></a>
+                   <!-- TMPL_ELSE -->
                     <span title="<!-- TMPL_VAR NAME="tag_lib" -->"><!-- 
TMPL_VAR NAME="tag" --></span>
+                   <!-- /TMPL_IF -->
                     <!-- TMPL_IF NAME="fixedfield" -->
                     <input class="indicator flat"
                                 type="text"
-- 
1.5.6.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to