Bug 31932: (follow-up) Markup comments
This patch adds comments to the template to highlight the markup structure. This patch should have no effect on the page's appearance or functionality. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> 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
328984439c
commit
bbec1228b6
1 changed files with 44 additions and 44 deletions
|
@ -115,8 +115,8 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
</div> <!-- /#toolbar -->
|
||||||
[% END %]
|
[% END # / UNLESS ( delete_confirmed ) %]
|
||||||
|
|
||||||
<!-- Modal for confirm deletion box-->
|
<!-- Modal for confirm deletion box-->
|
||||||
<div class="modal" id="deleteBasketModal" tabindex="-1" role="dialog" aria-labelledby="delbasketModalLabel" aria-hidden="true">
|
<div class="modal" id="deleteBasketModal" tabindex="-1" role="dialog" aria-labelledby="delbasketModalLabel" aria-hidden="true">
|
||||||
|
@ -165,13 +165,13 @@
|
||||||
<input type="hidden" name="delbiblio" value="1" />
|
<input type="hidden" name="delbiblio" value="1" />
|
||||||
<button type="submit" class="btn btn-default btn-default">Delete basket, orders, and records</button>
|
<button type="submit" class="btn btn-default btn-default">Delete basket, orders, and records</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div> <!-- /.modal-footer -->
|
||||||
[% END %]
|
[% END # /UNLESS book_foot_loop %]
|
||||||
</div>
|
</div> <!-- /.modal-content -->
|
||||||
</div>
|
</div> <!-- /.modal-dialog -->
|
||||||
</div>
|
</div> <!-- /.modal#deleteBasketModal -->
|
||||||
<!-- End of Modal-->
|
<!-- End of Modal-->
|
||||||
[% ELSE %]
|
[% ELSE # UNLESS ( closedate ) %]
|
||||||
<div id="toolbar" class="btn-toolbar">
|
<div id="toolbar" class="btn-toolbar">
|
||||||
[% IF grouped %]
|
[% IF grouped %]
|
||||||
<div title="Can not reopen baskets that are part of a basket group." class="btn-group">
|
<div title="Can not reopen baskets that are part of a basket group." class="btn-group">
|
||||||
|
@ -183,8 +183,8 @@
|
||||||
[% PROCESS csv_export %]
|
[% PROCESS csv_export %]
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END # /UNLESS ( closedate ) %]
|
||||||
[% END %]
|
[% END # /UNLESS ( selectbasketg ) %]
|
||||||
|
|
||||||
[% IF ( NO_BOOKSELLER ) %]
|
[% IF ( NO_BOOKSELLER ) %]
|
||||||
<h1>Vendor not found</h1>
|
<h1>Vendor not found</h1>
|
||||||
|
@ -214,8 +214,8 @@
|
||||||
<a href="booksellers.pl">Go back to vendor page</a>
|
<a href="booksellers.pl">Go back to vendor page</a>
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]" class="btn btn-default btn-sm">Show baskets for vendor [% booksellername | html %]</a> <a href="/cgi-bin/koha/acqui/booksellers.pl" class="btn btn-default btn-sm">Show all active baskets</a>
|
<a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]" class="btn btn-default btn-sm">Show baskets for vendor [% booksellername | html %]</a> <a href="/cgi-bin/koha/acqui/booksellers.pl" class="btn btn-default btn-sm">Show all active baskets</a>
|
||||||
[% END %]
|
[% END # /IF (cannotdelbiblios) %]
|
||||||
[% ELSE %]
|
[% ELSE # IF ( delete_confirmed ) %]
|
||||||
|
|
||||||
[% FOR m IN messages %]
|
[% FOR m IN messages %]
|
||||||
<div class="dialog [% m.type | html %]">
|
<div class="dialog [% m.type | html %]">
|
||||||
|
@ -232,7 +232,7 @@
|
||||||
<span>ERROR! - [% m.code | html %]</span>
|
<span>ERROR! - [% m.code | html %]</span>
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END # /FOR m %]
|
||||||
|
|
||||||
<h1>[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname | html %] ([% basketno | html %]) for <a href="supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
|
<h1>[% UNLESS ( basketno ) %]New [% END %]Basket [% basketname | html %] ([% basketno | html %]) for <a href="supplier.pl?booksellerid=[% booksellerid | uri %]">[% booksellername | html %]</a></h1>
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@
|
||||||
<input type="hidden" id="op" name="op" value="mod_users" />
|
<input type="hidden" id="op" name="op" value="mod_users" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</li>
|
</li> <!-- /#managedby -->
|
||||||
<li id="branch">
|
<li id="branch">
|
||||||
<span class="label">Managing library:</span>
|
<span class="label">Managing library:</span>
|
||||||
[% IF basketbranchcode %]
|
[% IF basketbranchcode %]
|
||||||
|
@ -293,7 +293,7 @@
|
||||||
No library
|
No library
|
||||||
<a href="#" id="set_managing_library"><i class="fa fa-pencil"></i> Set library</a>
|
<a href="#" id="set_managing_library"><i class="fa fa-pencil"></i> Set library</a>
|
||||||
[% END %]
|
[% END %]
|
||||||
</li>
|
</li> <!-- /#branch -->
|
||||||
[% IF branches_loop.size %]
|
[% IF branches_loop.size %]
|
||||||
<li id="managing_library_entry" style="display:none;">
|
<li id="managing_library_entry" style="display:none;">
|
||||||
<span class="label"> </span>
|
<span class="label"> </span>
|
||||||
|
@ -314,8 +314,8 @@
|
||||||
<input type="hidden" id="op" name="op" value="mod_branch" />
|
<input type="hidden" id="op" name="op" value="mod_branch" />
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li> <!-- #/managing_library_entry -->
|
||||||
[% END %]
|
[% END # /IF branches_loop.size %]
|
||||||
|
|
||||||
[% INCLUDE 'additional-fields-display.inc' available=available_additional_fields values=additional_field_values %]
|
[% INCLUDE 'additional-fields-display.inc' available=available_additional_fields values=additional_field_values %]
|
||||||
|
|
||||||
|
@ -436,7 +436,7 @@
|
||||||
</div> <!-- /.rows -->
|
</div> <!-- /.rows -->
|
||||||
</div> <!-- /.col-sm-6 -->
|
</div> <!-- /.col-sm-6 -->
|
||||||
</div> <!-- /#acqui_basket_summary.row -->
|
</div> <!-- /#acqui_basket_summary.row -->
|
||||||
[% END %]
|
[% END # /IF ( basketno ) %]
|
||||||
|
|
||||||
[% IF ( duplinbatch ) %]
|
[% IF ( duplinbatch ) %]
|
||||||
<div class="dialog alert">
|
<div class="dialog alert">
|
||||||
|
@ -688,8 +688,8 @@
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table> <!-- /#orders -->
|
||||||
[% END %]
|
[% END # / IF ( books_loop ) %]
|
||||||
[% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small>[% END %]
|
[% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small>[% END %]
|
||||||
</div> <!-- /#acqui_basket_content -->
|
</div> <!-- /#acqui_basket_content -->
|
||||||
|
|
||||||
|
@ -774,11 +774,11 @@
|
||||||
<td class="number">[% order.tax_value | $Price %]</td>
|
<td class="number">[% order.tax_value | $Price %]</td>
|
||||||
<td>[% order.budget_name | html %]
|
<td>[% order.budget_name | html %]
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END # /FOREACH order %]
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table> <!-- /#cancelledorderst -->
|
||||||
</div> <!-- /#cancelledorders -->
|
</div> <!-- /#cancelledorders -->
|
||||||
[% END %]
|
[% END # /IF (cancelledorders_loop) %]
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
[% UNLESS ( closedate ) %]
|
[% UNLESS ( closedate ) %]
|
||||||
|
@ -800,14 +800,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.modal-content -->
|
</div><!-- /.modal-content -->
|
||||||
</div><!-- /.modal-dialog -->
|
</div><!-- /.modal-dialog -->
|
||||||
</div><!-- /.modal -->
|
</div><!-- /.modal#addtoBasket -->
|
||||||
[% END %]
|
[% END # /UNLESS ( closedate ) %]
|
||||||
|
|
||||||
[% END %]
|
[% END # /IF ( delete_confirmed ) %]
|
||||||
[% END %]
|
[% END # /IF ( NO_BOOKSELLER ) %]
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<!-- if we want just to select a basketgroup for a closed basket -->
|
<!-- if we want just to select a basketgroup for a closed basket -->
|
||||||
[% END %]
|
[% END #/IF !confirm_close && !edi_confirm %]
|
||||||
|
|
||||||
[% IF ( confirm_close ) %]
|
[% IF ( confirm_close ) %]
|
||||||
<div id="closebasket_needsconfirmation" class="dialog alert">
|
<div id="closebasket_needsconfirmation" class="dialog alert">
|
||||||
|
@ -832,7 +832,7 @@
|
||||||
<button type="submit" class="deny" accesskey="n"><i class="fa fa-fw fa-remove"></i> No, don't close (N)</button>
|
<button type="submit" class="deny" accesskey="n"><i class="fa fa-fw fa-remove"></i> No, don't close (N)</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
[% END %]
|
[% END # /IF ( confirm_close ) %]
|
||||||
|
|
||||||
[% IF edi_confirm %]
|
[% IF edi_confirm %]
|
||||||
<div id="closebasket_needsconfirmation" class="dialog alert">
|
<div id="closebasket_needsconfirmation" class="dialog alert">
|
||||||
|
@ -856,9 +856,9 @@
|
||||||
<input type="hidden" name="basketno" value="[% basketno | html %]" />
|
<input type="hidden" name="basketno" value="[% basketno | html %]" />
|
||||||
<button type="submit" class="deny" accesskey="N"><i class="fa fa-fw fa-remove"></i> No, don't close (N)</button>
|
<button type="submit" class="deny" accesskey="N"><i class="fa fa-fw fa-remove"></i> No, don't close (N)</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div> <!-- /#closebasket_needsconfirmation -->
|
||||||
[% END %]
|
[% END # /IF edi_confirm %]
|
||||||
[% END %][%# IF (cannot_manage_basket) %]
|
[% END # /IF (cannot_manage_basket) %]
|
||||||
</main>
|
</main>
|
||||||
</div> <!-- /.col-sm-10.col-sm-push-2 -->
|
</div> <!-- /.col-sm-10.col-sm-push-2 -->
|
||||||
|
|
||||||
|
@ -890,10 +890,10 @@
|
||||||
<button type="submit" class="btn btn-default">Save</button>
|
<button type="submit" class="btn btn-default">Save</button>
|
||||||
<button type="button" class="btn btn-link cancel" data-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-link cancel" data-dismiss="modal">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /.modal-content -->
|
||||||
</form>
|
</form> <!-- /#modify_order_notes -->
|
||||||
</div>
|
</div> <!-- /.modal-dialog -->
|
||||||
</div>
|
</div> <!-- /.modal#noteEditor -->
|
||||||
|
|
||||||
<!-- Modal for editing estimated delivery date -->
|
<!-- Modal for editing estimated delivery date -->
|
||||||
<div class="modal" id="dateEditor" tabindex="-1" role="dialog" aria-labelledby="dateEditorLabel">
|
<div class="modal" id="dateEditor" tabindex="-1" role="dialog" aria-labelledby="dateEditorLabel">
|
||||||
|
@ -914,10 +914,10 @@
|
||||||
<button type="submit" class="btn btn-default">Save</button>
|
<button type="submit" class="btn btn-default">Save</button>
|
||||||
<button type="button" class="btn btn-link cancel" data-dismiss="modal">Cancel</button>
|
<button type="button" class="btn btn-link cancel" data-dismiss="modal">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> <!-- /.modal-content -->
|
||||||
</form>
|
</form> <!-- /#modify_estimated_delivery_date -->
|
||||||
</div>
|
</div> <!-- /.modal-dialog -->
|
||||||
</div>
|
</div> <!-- /.modal#dateEditor -->
|
||||||
|
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
[% Asset.js("js/acquisitions-menu.js") | $raw %]
|
[% Asset.js("js/acquisitions-menu.js") | $raw %]
|
||||||
|
@ -1064,8 +1064,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
[% END %]
|
[% END # /UNLESS grouped %]
|
||||||
[% END %]
|
[% END # /UNLESS (closedate) %]
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'basket', 'orders', 'json' ) | $raw %];
|
var table_settings = [% TablesSettings.GetTableSettings( 'acqui', 'basket', 'orders', 'json' ) | $raw %];
|
||||||
|
|
Loading…
Reference in a new issue