Fix for Bug 4933, Link to subfield's edit tab from subfield structure admin

- Also corrects framework display in the case of the default

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2010-11-12 23:33:54 -05:00 committed by Chris Cormack
parent 35d2008ef0
commit 1586306866

View file

@ -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&amp;tagfield=<!-- TMPL_VAR NAME="tagfield" -->&amp;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&amp;tagfield=<!-- TMPL_VAR NAME="tagfield" -->&amp;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>