[Koha-patches] [PATCH] Fix for Bug 4933, Link to subfield's edit tab from subfield structure admin
Owen Leonard
oleonard at myacpl.org
Fri Jul 2 18:35:57 CEST 2010
- Also corrects framework display in the case of the default
---
.../en/modules/admin/marc_subfields_structure.tmpl | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tmpl
index 2ea58de..7873296 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tmpl
@@ -165,7 +165,7 @@
<!-- TMPL_IF NAME="else" -->
-<h1>MARC subfield structure admin for <!-- TMPL_VAR NAME="tagfield" --> (framework <!--TMPL_VAR NAME="frameworkcode" -->)</h1>
+<h1>MARC subfield structure admin for <!-- TMPL_VAR NAME="tagfield" --> <!-- TMPL_IF NAME="frameworkcode" -->(framework <!--TMPL_VAR NAME="frameworkcode" -->)<!-- TMPL_ELSE -->(default framework)<!-- /TMPL_IF --></h1>
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit. </p>
<p>The column Koha field shows that the subfield is linked with a Koha field. Koha can manage a MARC interface, or a Koha interface. This link ensures that both DB are synchronized, thus you can change from a MARC to a Koha interface easily.</p>
@@ -174,6 +174,7 @@
<th>Subfield</th>
<th>Text</th>
<th>Constraints</th>
+ <th>Edit</th>
<th>Delete</th>
</tr>
<!-- TMPL_LOOP NAME="loop" -->
@@ -182,7 +183,7 @@
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_UNLESS -->
- <td><!-- TMPL_VAR NAME="tagsubfield" --></td>
+ <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=<!-- TMPL_VAR NAME="tagfield" -->&frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->#sub<!-- TMPL_VAR NAME="tagsubfield" -->field"><!-- TMPL_VAR NAME="tagsubfield" --></a></td>
<td>
<!-- TMPL_IF NAME="subfield_ignored" -->
<i><!-- TMPL_VAR NAME="liblibrarian" --></i>
@@ -207,7 +208,8 @@
<!-- TMPL_IF NAME="link" --> | Link:<!-- TMPL_VAR NAME="link" -->,<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</td>
- <td><a href="<!-- TMPL_VAR NAME="delete" -->">Delete</a></td>
+ <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=<!-- TMPL_VAR NAME="tagfield" -->&frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->#sub<!-- TMPL_VAR NAME="tagsubfield" -->field">Edit</a></td>
+ <td><a class="" href="<!-- TMPL_VAR NAME="delete" -->">Delete</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
--
1.7.0.4
More information about the Koha-patches
mailing list