{% extends "objectapp/base.html" %} {% load i18n objectapp_tags %} {% block meta-description %}{% trans "Latest gbobjects for" %} {% if Objecttype %}{% trans "the Objecttype" %} {{ Objecttype }}{% if Objecttype.description %}: {{ Objecttype.description|striptags|safe }}{% endif %}{% endif %}{% if tag %}{% trans "the tag" %} {{ tag }}{% endif %}{% if author %}{% trans "the author" %} {{ author }}{% endif %}{% if page_obj %}{% ifnotequal page_obj.number 1 %} {% trans "page" %} {{ page_obj.number }}{% endifnotequal %}{% endif %}{% endblock %} {% block link %} {{ block.super }} {% if Objecttype %} {% endif %} {% if tag %} {% endif %} {% if author %} {% endif %} {% endblock %} {% block title %}{% trans "Latest gbobjects" %} {% if Objecttype %}| {% trans "Objecttype" %} {{ Objecttype }}{% endif %}{% if tag %}| {% trans "Tag" %} {{ tag }}{% endif %}{% if author %}| {% trans "Author" %} {{ author }}{% endif %}{% if page_obj %}{% ifnotequal page_obj.number 1 %} | {% trans "Page" %} {{ page_obj.number }}{% endifnotequal %}{% endif %}{% endblock %} {% block content %} {% if Objecttype %}

{{ Objecttype.title }}

{% if Objecttype.description %}

{{ Objecttype.description|striptags|safe }}

{% endif %} {% endif %} {% if tag %}

{% trans "Tag" %} : {{ tag }}

{% endif %} {% if author %}

{% blocktrans with author.username as author %}Gbobjects by {{ author }}{% endblocktrans %}

{% endif %} {% for object in object_list %} {% with object.html_content|truncatewords_html:100|safe as object_content %} {% include "objectapp/_gbobject_detail.html" %} {% endwith %} {% empty %}

{% trans "No gbobjects yet." %}

{% endfor %} {% if is_paginated %} {% objectapp_pagination page_obj %} {% endif %} {% endblock %} {% block admin_tools %} {% if Objecttype and perms.objectapp.change_Objecttype %}
  • {% trans "Edit the Objecttype" %}
  • {% endif %} {% if tag and perms.tagging.change_tag %}
  • {% trans "Edit the tag" %}
  • {% endif %} {% if author and perms.auth.change_user %}
  • {% trans "Edit the author" %}
  • {% endif %} {% endblock %}