diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-15 16:37:42 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:20:59 +0100 |
| commit | e3ce9c77d36db4510076b677ec7ce1e0021a51f8 (patch) | |
| tree | edb1258d180c35e73a10ab7120c69d81b3925d44 /ishtar_common/templates/ishtar/blocks | |
| parent | 905dfbb0ebb91af7b7acaae256306f178863c57f (diff) | |
| download | Ishtar-e3ce9c77d36db4510076b677ec7ce1e0021a51f8.tar.bz2 Ishtar-e3ce9c77d36db4510076b677ec7ce1e0021a51f8.zip | |
Syndication - serialization - display sheet operation
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html | 6 | ||||
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_nav.html | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html b/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html index abf03ead1..1587963c5 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html @@ -1,8 +1,8 @@ -{% load i18n %}{% if data.count %} +{% load i18n %}{% if data.count or external %} <dl class="col-12 {% if size == 2 %}col-lg-6{% else %}col-md-6 col-lg-3{% endif %} flex-wrap"> <dt>{% trans caption %}</dt> - <dd>{% for d in data.all %} + <dd>{% if not external %}{% for d in data.all %} {% if forloop.counter0 %} ; {% endif %}{{ d }} - {% endfor %}</dd> + {% endfor %}{% else %}{{data}}{% endif %}</dd> </dl> {% endif %} diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html index 1d8121faf..a1ec01dcb 100644 --- a/ishtar_common/templates/ishtar/blocks/window_nav.html +++ b/ishtar_common/templates/ishtar/blocks/window_nav.html @@ -1,4 +1,5 @@ {% load i18n ishtar_helpers %} +{% if not item.is_external %} <div class="row toolbar"> {% if current_user.is_superuser %} {% if previous or next %} @@ -112,4 +113,7 @@ $(document).ready(function(){ register_qa_on_sheet(); }); -</script>
\ No newline at end of file +</script> +{% else %} +<h3><i class="fa fa-globe" aria-hidden="true"></i> {{item.current_source}}</h3> +{% endif %}
\ No newline at end of file |
