fix: fix auto-collapse title for viewing trainwreck txn
This commit is contained in:
parent
3aafe578f0
commit
e88b8fc9bc
|
@ -47,7 +47,7 @@
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|
||||||
<strong>Transaction Header</strong>
|
<strong>${main_form_title}</strong>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="panel-block">
|
<div class="panel-block">
|
||||||
|
|
|
@ -270,6 +270,7 @@ class TransactionView(MasterView):
|
||||||
kwargs['custorder_xref_markers_data'] = markers
|
kwargs['custorder_xref_markers_data'] = markers
|
||||||
|
|
||||||
# collapse header
|
# collapse header
|
||||||
|
kwargs['main_form_title'] = "Transaction Header"
|
||||||
kwargs['main_form_collapsible'] = True
|
kwargs['main_form_collapsible'] = True
|
||||||
kwargs['main_form_autocollapse'] = config.get_bool(
|
kwargs['main_form_autocollapse'] = config.get_bool(
|
||||||
'tailbone.trainwreck.view_txn.autocollapse_header',
|
'tailbone.trainwreck.view_txn.autocollapse_header',
|
||||||
|
|
Loading…
Reference in a new issue