Bug 6458: Incorrect translation processing / sco-main.tt
Patch removes templates directives from HTML tags in sco-main.tt Problems were related to buttons for renewing items. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Before opac-tmpl/prog/en/modules/sco/sco-main.tt: 135, 222 After, no errors Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
8f8fc1088a
commit
4530159ce1
1 changed files with 4 additions and 2 deletions
|
@ -132,7 +132,8 @@ $(document).ready(function() {
|
|||
<input type="button" value="Return Item" name="confirm" class="return" onclick="this.form.op.value='returnbook';this.form.submit();" />
|
||||
[% END %]
|
||||
[% END %]
|
||||
<input type="button" value="Renew Item" [% UNLESS ( renew ) %] name="confirm"[% END %] class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
|
||||
[% UNLESS ( renew ) %]<input type="button" value="Renew Item" name="confirm" class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
|
||||
[% ELSE %]<input type="button" value="Renew Item" class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />[% END %]
|
||||
<input type="button" value="Cancel" class="cancel" onclick="this.form.op.value='';this.form.submit();return true;" />
|
||||
</form>
|
||||
</div>
|
||||
|
@ -219,7 +220,8 @@ Sorry, This Self-Checkout Station has lost authentication. Please contact the a
|
|||
<span>No renewals allowed</span>
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
<input type="button" value="Renew Item" [% UNLESS ( ISSUE.renew ) %] name="confirm"[% END %] class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
|
||||
[% UNLESS ( ISSUE.renew ) %]<input type="button" value="Renew Item" name="confirm" class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
|
||||
[% ELSE %]<input type="button" value="Renew Item" class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />[% END %]
|
||||
[% END %]
|
||||
</form>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue