Tweak batch view template "object helpers" for easier customization
This commit is contained in:
parent
5bdacc70e5
commit
98fc4608da
|
@ -75,14 +75,11 @@
|
||||||
% endif
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<div style="display: flex; justify-content: space-between;">
|
<%def name="object_helpers()">
|
||||||
|
${self.render_status_breakdown()}
|
||||||
<div class="form-wrapper">
|
</%def>
|
||||||
${form.render(form_id='batch-form', buttons=capture(buttons))|n}
|
|
||||||
</div><!-- form-wrapper -->
|
|
||||||
|
|
||||||
<div style="display: flex; align-items: flex-start;">
|
|
||||||
|
|
||||||
|
<%def name="render_status_breakdown()">
|
||||||
% if status_breakdown is not Undefined and status_breakdown is not None:
|
% if status_breakdown is not Undefined and status_breakdown is not None:
|
||||||
<div class="object-helper">
|
<div class="object-helper">
|
||||||
<h3>Row Status Breakdown</h3>
|
<h3>Row Status Breakdown</h3>
|
||||||
|
@ -104,6 +101,19 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
% endif
|
% endif
|
||||||
|
</%def>
|
||||||
|
|
||||||
|
<div style="display: flex; justify-content: space-between;">
|
||||||
|
|
||||||
|
<div class="form-wrapper">
|
||||||
|
${form.render(form_id='batch-form', buttons=capture(buttons))|n}
|
||||||
|
</div><!-- form-wrapper -->
|
||||||
|
|
||||||
|
<div style="display: flex; align-items: flex-start;">
|
||||||
|
|
||||||
|
<div class="object-helpers">
|
||||||
|
${self.object_helpers()}
|
||||||
|
</div>
|
||||||
|
|
||||||
<ul id="context-menu">
|
<ul id="context-menu">
|
||||||
${self.context_menu_items()}
|
${self.context_menu_items()}
|
||||||
|
|
Loading…
Reference in a new issue