{% extends "base.html" %} {% load i18n plmapp_tags highlight %} {# browse page #} {% block css %} {% endblock %} {% block leftcolumn %} {% endblock %} {% block content %}
{% block browse-left-panel %}
{% block browse-type %}

{% trans "Type" %}

{% endblock %} {% block browse-sort %}

{% trans "Sort" %}

{% endblock %} {% block browse-state %} {% if plmobjects and not restricted %}

{% trans "State" %}

{% endif %} {% endblock %} {% block browse-subtypes %} {% if subtypes and not restricted %}
    {% for level, cls, cls_name in subtypes %}
  • {{ cls_name }}
  • {% endfor %}
{% endif %} {% endblock %} {% block browse-time %} {% if not restricted %} {% for time_filter in time_filters %} {% include "snippets/time_filter.html" %} {% endfor %} {% endif %} {% endblock %}
{% endblock %} {% block browse-results %}

{% trans "Results" %}

{% if type == "object"%} {% trans "Objects" %}. {% elif type == "part" %} {% trans "Parts" %}. {% elif type == "topassembly" %} {% trans "Top assemblies" %}. {% elif type == "document" %} {% trans "Documents" %}. {% elif type == "user" %} {% trans "User" %}. {% elif type == "group" %} {% trans "Group" %}. {% else %} {{ type }}. {% endif %} {% if stype and stype != "Object" and type != stype.lower %} {{ stype }}. {% endif %} {% block sort-method %} {% if sort == "name" %} {% trans "Sorted by name" %}. {% elif type in "part topassembly" and sort == "children" %} {% trans "Largest assemblies" %}. {% elif type == "part" and sort == "most-used" %} {% trans "Most used" %}. {% else %} {% trans "Recently added" %}. {% endif %} {% endblock %} {% block selected-state %} {% if plmobjects %} {% if state == "official" %} {% trans "Only official objects" %}. {% elif state == "published" %} {% trans "Only published objects" %}. {% elif state == "all" %} {% trans "All objects"%}. {% else %} {{ state }}. {% endif %} {% endif %} {% endblock %} {% block selected-time %} {% if not restricted %} {% for time_filter in time_filters %} {{time_filter.title|capfirst}}: {{ time_filter.display }}. {% endfor %} {% endif %} {% endblock %}
{% trans "Results" %} {% blocktrans with objects.start_index as start and objects.end_index as end and objects.paginator.count as total %} ({{start}} - {{end}} on {{total}}) {% endblocktrans %}

{% block browse-objects %} {% with restricted|yesno:"public/," as suffix_url %} {% for object in objects.object_list %} {% with object|main_type|add:"s/identity_card.html" as tpl %} {% include tpl %} {% endwith %} {% endfor %} {% endwith %} {% endblock %}
{% show_pages_bar objects request %}
{% endblock %}
{% endblock %}