2020-07-08 14:36:13 +02:00
|
|
|
|
2021-05-15 01:04:17 +02:00
|
|
|
{% if has_permission("blog_post", "filename.read", instance) %}
|
2020-07-08 14:36:13 +02:00
|
|
|
{% if "filename" not in skip_list %}
|
2021-05-15 01:04:17 +02:00
|
|
|
<li id="display-blog_post-filename"><strong>{{ _("filename") }}</strong>:
|
|
|
|
{% if not instance.filename %}{% else %}
|
|
|
|
{{ instance.filename }}
|
|
|
|
</li>
|
2020-07-08 14:36:13 +02:00
|
|
|
{% endif %}
|
2021-05-15 01:04:17 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% if has_permission("blog_post", "title.read", instance) %}
|
2020-07-13 11:54:16 +02:00
|
|
|
{% if "title" not in skip_list %}
|
2021-05-15 01:04:17 +02:00
|
|
|
<li id="display-blog_post-title"><strong>{{ _("title") }}</strong>:
|
|
|
|
{% if not instance.title %}{% else %}
|
|
|
|
{{ instance.title }}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2020-07-13 11:54:16 +02:00
|
|
|
{% endif %}
|
2021-05-15 01:04:17 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if has_permission("blog_post", "body.read", instance) %}
|
2020-07-08 14:36:13 +02:00
|
|
|
{% if "body" not in skip_list %}
|
2021-05-15 01:04:17 +02:00
|
|
|
<li id="display-blog_post-body"><strong>{{ _("body") }}</strong>:
|
|
|
|
{% if not instance.body %}{% else %}
|
|
|
|
{{ instance.body }}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2020-08-11 13:17:53 +02:00
|
|
|
{% endif %}
|
2021-05-15 01:04:17 +02:00
|
|
|
{% if has_permission("blog_post", "tag.read", instance) %}
|
2021-05-01 16:19:02 +02:00
|
|
|
{% if "tag" not in skip_list %}
|
2021-05-15 01:04:17 +02:00
|
|
|
<li id="display-blog_post-tag"><strong>{{ _("tags") }}</strong>:
|
|
|
|
{% if not instance.tags %}{% else %}
|
|
|
|
<ul>
|
|
|
|
{% for instance in instance.tags %}
|
|
|
|
{% include "tag/_list_item.html" %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
2021-05-01 16:19:02 +02:00
|
|
|
{% endif %}
|
2021-05-15 01:04:17 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% if has_permission("blog_post", "created_dt.read", instance) %}
|
2020-08-11 13:17:53 +02:00
|
|
|
{% if "created_dt" not in skip_list %}
|
2021-05-15 01:04:17 +02:00
|
|
|
<li id="display-blog_post-created_dt"><strong>{{ _("created_dt") }}</strong>:
|
|
|
|
{% if not instance.created_dt %}{% else %}
|
|
|
|
{{ instance.created_dt }}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2020-08-11 13:17:53 +02:00
|
|
|
{% endif %}
|
2021-05-15 01:04:17 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if has_permission("blog_post", "updated_dt.read", instance) %}
|
2020-08-11 13:17:53 +02:00
|
|
|
{% if "updated_dt" not in skip_list %}
|
2021-05-15 01:04:17 +02:00
|
|
|
<li id="display-blog_post-updated_dt"><strong>{{ _("updated_dt") }}</strong>:
|
|
|
|
{% if not instance.updated_dt %}{% else %}
|
|
|
|
{{ instance.updated_dt }}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2020-07-08 14:36:13 +02:00
|
|
|
{% endif %}
|