2020-03-14 19:49:38 -05:00
|
|
|
## -*- coding: utf-8; -*-
|
|
|
|
|
2021-01-20 21:52:12 -06:00
|
|
|
<%def name="render_xref_button()">
|
|
|
|
<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
|
2021-02-01 15:36:09 -06:00
|
|
|
icon-pack="fas"
|
|
|
|
icon-left="fas fa-external-link-alt">
|
2021-01-20 21:52:12 -06:00
|
|
|
View in CORE Office
|
|
|
|
</b-button>
|
|
|
|
</%def>
|
|
|
|
|
2020-03-14 19:49:38 -05:00
|
|
|
<%def name="render_xref_helper()">
|
|
|
|
<div class="object-helper">
|
|
|
|
<h3>Cross-Reference</h3>
|
|
|
|
<div class="object-helper-content">
|
2021-01-20 21:52:12 -06:00
|
|
|
${self.render_xref_button()}
|
2020-03-14 19:49:38 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</%def>
|