Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt
Owen Leonard 4e2871c285
Bug 33001: (follow-up) Add spans for translatability
This patch finds places in the updated breadcrumbs markup where a
translatable string is isolated in a way that makes it hard for the
translation script to find it, and wraps these strings with <span>

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

https://bugs.koha-community.org/show_bug.cgi?id=33005
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-12 11:43:21 -03:00

62 lines
2.4 KiB
Text

[% USE raw %]
[% INCLUDE 'doc-head-open.inc' %]
<title>[%- IF (type == "vendor") -%]
Change order vendor note
[%- ELSE -%]
Change order internal note
[%- END -%] &rsaquo; Acquisition &rsaquo; Koha
</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="acq_modordernotes" class="acq">
[% INCLUDE 'header.inc' %]
[% WRAPPER 'sub-header.inc' %]
[% WRAPPER breadcrumbs %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisition</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketname | html %] ([% basketno | html %])</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active=1 %]
[% IF (type == "vendor") %]
<span>Change order's vendor note</span>
[% ELSE %]
<span>Change order's internal note</span>
[% END %]
[% END %]
[% END #/ WRAPPER breadcrumbs %]
[% END #/ WRAPPER sub-header.inc %]
<div class="main container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
[% IF (type == "vendor") %]
<h1>Change order vendor note (order no. [% ordernumber | html %])</h1>
[% ELSE %]
<h1>Change order internal note (order no. [% ordernumber | html %])</h1>
[% END %]
<form action="/cgi-bin/koha/acqui/modordernotes.pl" method="post">
<fieldset class="brief">
<label for="ordernotes">Note:</label>
<textarea id="ordernotes" name="ordernotes" rows="3" cols="30" class="focus">[% ordernotes | html %]</textarea>
</fieldset>
<input type="hidden" name="referrer" value="[% referrer | html %]" />
<input type="hidden" name="ordernumber" value="[% ordernumber | html %]" />
<input type="hidden" name="op" value="save" />
<input type="hidden" name="type" value="[% type | html %]" />
<fieldset class="action">
<input type="submit" class="btn btn-primary" value="Save" />
<a class="cancel" href="[% referrer | url %]">Cancel</a>
</fieldset>
</form>
</div>
</div>
[% INCLUDE 'intranet-bottom.inc' %]