tailbone-harvest/tailbone_harvest/templates/harvest-util.mako

24 lines
594 B
Plaintext
Raw Normal View History

2022-02-11 19:16:47 -06:00
## -*- coding: utf-8; -*-
<%def name="render_xref_buttons()">
<b-button type="is-primary"
% if harvest_url:
tag="a" href="${harvest_url}" target="_blank"
% else:
disabled title="${harvest_why_no_url}"
% endif
icon-pack="fas"
icon-left="external-link-alt">
View in Harvest
</b-button>
</%def>
<%def name="render_xref_helper()">
<nav class="panel">
<p class="panel-heading">Cross-Reference</p>
<div class="panel-block buttons">
${self.render_xref_buttons()}
</div>
</nav>
</%def>