summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/window_field_flex_file.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_field_flex_file.html')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_field_flex_file.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex_file.html b/ishtar_common/templates/ishtar/blocks/window_field_flex_file.html
new file mode 100644
index 000000000..0a79176d6
--- /dev/null
+++ b/ishtar_common/templates/ishtar/blocks/window_field_flex_file.html
@@ -0,0 +1,10 @@
+{% load i18n %}{% if link %}
+<dl class="col-12 col-md-6 col-lg-3 flex-wrap">
+ <dt>{% trans caption %}</dt>
+ <dd>
+ <a href="{{link|safe}}" class="btn btn-secondary" target="_blank">
+ {% if link_name %}{{link_name}}{% else %}{{link}}{% endif %}
+ </a>
+ </dd>
+</dl>
+{% endif%}