Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/modordernotes.tt
Owen Leonard adae1973ab
Bug 32070: Consistent classes for primary buttons: Acquisitions
This patch makes changes the button markup in Acquisitions templates
so that all submit buttons and any buttons that should should be styled
as primary buttons have the Bootstrap class "btn btn-primary."

To test, apply the patch and view pages in Acquisitions to confirm
that everything looks correct. In most cases there are no visible
changes.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-02 19:37:37 -03:00

65 lines
2.3 KiB
Text

[% 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' %]
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
<ol>
<li>
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
</li>
<li>
<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisition</a>
</li>
<li>
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a>
</li>
<li>
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | uri %]">Basket [% basketname | html %] ([% basketno | html %])</a>
</li>
<li>
<a href="#" aria-current="page">
Change order [% IF (type == "vendor") %]vendor[% ELSE %]internal[% END %] note
</a>
</li>
</ol>
</nav>
[% END %]
<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' %]