Bug 34412: (follow-up) Clarify page heading, remove unused markup
This patch updates the heading for the "modify" view so that it includes the name of the preference being modified. The patch also removes markup related to the "add_validate" state--a view confirming that a preference has been added--because that view doesn't exist. Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
c46dd36389
commit
767b9a5126
1 changed files with 3 additions and 20 deletions
|
@ -12,9 +12,6 @@
|
|||
[% t("New preference") | html %]
|
||||
[% END %] ›
|
||||
[% END %]
|
||||
[% IF ( add_validate ) %]
|
||||
[% t("Preference added") | html %] ›
|
||||
[% END %]
|
||||
[% IF ( delete_confirm ) %]
|
||||
[% tx("Confirm deletion of preference '{searchfield}'", { searchfield = searchfield }) | html %] ›
|
||||
[% END %]
|
||||
|
@ -39,7 +36,7 @@
|
|||
<a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
|
||||
[% END %]
|
||||
|
||||
[% IF ( add_form || add_validate || delete_confirm || delete_confirmed ) %]
|
||||
[% IF ( add_form || delete_confirm || delete_confirmed ) %]
|
||||
[% WRAPPER breadcrumb_item %]
|
||||
<a href="/cgi-bin/koha/admin/systempreferences.pl">Local use system preferences</a>
|
||||
[% END %]
|
||||
|
@ -55,12 +52,6 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( add_validate ) %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Data added</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( delete_confirm ) %]
|
||||
[% WRAPPER breadcrumb_item %]
|
||||
<a href="/cgi-bin/koha/admin/systempreferences.pl?op=add_form&searchfield=[% searchfield | uri %]">[% searchfield | html %]</a>
|
||||
|
@ -92,7 +83,7 @@
|
|||
[% IF ( add_form ) %]
|
||||
<h1>
|
||||
[% IF ( modify ) %]
|
||||
Modify a local use system preference
|
||||
[% tx("Modify preference '{searchfield}'", { searchfield = searchfield }) | html %]
|
||||
[% ELSE %]
|
||||
New local use system preference
|
||||
[% END %]
|
||||
|
@ -273,15 +264,7 @@
|
|||
|
||||
</form>
|
||||
[% END %]
|
||||
|
||||
[% IF ( add_validate ) %]
|
||||
<h1>Data recorded</h1>
|
||||
|
||||
<form action="[% script_name | html %]" method="post">
|
||||
<input type="submit" class="btn btn-primary" value="OK" />
|
||||
</form>
|
||||
[% END %]
|
||||
|
||||
|
||||
[% IF ( delete_confirm ) %]
|
||||
<div class="dialog alert">
|
||||
<h1>Confirm deletion of [% searchfield | html %]?</h1>
|
||||
|
|
Loading…
Reference in a new issue