Move jump button logic to tailbone-corepos
since that now supports jump button for Vendor also, maybe others to come
This commit is contained in:
parent
d7462f415d
commit
07a36982d7
3 changed files with 5 additions and 52 deletions
|
@ -1,27 +0,0 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="tailbone:templates/products/view.mako" />
|
||||
|
||||
<%def name="object_helpers()">
|
||||
${parent.object_helpers()}
|
||||
${self.render_xref_helper()}
|
||||
</%def>
|
||||
|
||||
<%def name="render_xref_helper()">
|
||||
<div class="object-helper">
|
||||
<h3>Cross-Reference</h3>
|
||||
<div class="object-helper-content">
|
||||
<b-button type="is-primary"
|
||||
% if core_office_url:
|
||||
tag="a" href="${core_office_url}" target="_blank"
|
||||
% else:
|
||||
disabled title="${core_office_why_no_url}"
|
||||
% endif
|
||||
>
|
||||
View in CORE Office
|
||||
</b-button>
|
||||
</div>
|
||||
</div>
|
||||
</%def>
|
||||
|
||||
|
||||
${parent.body()}
|
Loading…
Add table
Add a link
Reference in a new issue