diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-30 12:26:32 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-30 12:26:32 +0100 |
| commit | 400e66d6b554d6b87e025f84d15742df15ecd644 (patch) | |
| tree | ecbbc58eba6627abf98a91fe8f459c392bfadcd6 /ishtar_common/templates/ishtar/blocks | |
| parent | dc1d0da3544d2ec9adb4c792c357fe06eaf752a7 (diff) | |
| download | Ishtar-400e66d6b554d6b87e025f84d15742df15ecd644.tar.bz2 Ishtar-400e66d6b554d6b87e025f84d15742df15ecd644.zip | |
Sheet document: better UI for files
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_flex_file.html | 10 |
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%} |
