59 lines
1.8 KiB
HTML
59 lines
1.8 KiB
HTML
|
|
{% if has_permission("blog_post", "filename.read", instance) %}
|
|
{% if "filename" not in skip_list %}
|
|
<li id="display-blog_post-filename"><strong>{{ _("filename") }}</strong>:
|
|
{% if not instance.filename %}{% else %}
|
|
{{ instance.filename }}
|
|
</li>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if has_permission("blog_post", "title.read", instance) %}
|
|
{% if "title" not in skip_list %}
|
|
<li id="display-blog_post-title"><strong>{{ _("title") }}</strong>:
|
|
{% if not instance.title %}{% else %}
|
|
{{ instance.title }}
|
|
</li>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if has_permission("blog_post", "body.read", instance) %}
|
|
{% if "body" not in skip_list %}
|
|
<li id="display-blog_post-body"><strong>{{ _("body") }}</strong>:
|
|
{% if not instance.body %}{% else %}
|
|
{{ instance.body }}
|
|
</li>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if has_permission("blog_post", "tag.read", instance) %}
|
|
{% if "tag" not in skip_list %}
|
|
<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>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if has_permission("blog_post", "created_dt.read", instance) %}
|
|
{% if "created_dt" not in skip_list %}
|
|
<li id="display-blog_post-created_dt"><strong>{{ _("created_dt") }}</strong>:
|
|
{% if not instance.created_dt %}{% else %}
|
|
{{ instance.created_dt }}
|
|
</li>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if has_permission("blog_post", "updated_dt.read", instance) %}
|
|
{% if "updated_dt" not in skip_list %}
|
|
<li id="display-blog_post-updated_dt"><strong>{{ _("updated_dt") }}</strong>:
|
|
{% if not instance.updated_dt %}{% else %}
|
|
{{ instance.updated_dt }}
|
|
</li>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %} |