summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/window_field_url.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_field_url.html')
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_field_url.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_url.html b/ishtar_common/templates/ishtar/blocks/window_field_url.html
new file mode 100644
index 000000000..b91f318b6
--- /dev/null
+++ b/ishtar_common/templates/ishtar/blocks/window_field_url.html
@@ -0,0 +1,3 @@
+{% load i18n %}
+{% if link %}<p><label>{% trans caption %}{% trans ":"%}</label>
+<span class='value'><a target="_blank" href='{{link|safe}}'>{% if link_name %}{{link_name}}{% else %}{% trans "link" %}{% endif %}</a></span></p>{% endif%}