{% extends "base.html" %} {% load i18n %} {% block title %} {% trans "Table" %} {{ table.id }}: {{ table.name }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block page-title %} {% if table and table.id %} {% include "table_star.html" %} {% endif %} {% trans "Table" %} {{ table.id }}: {{ table.name }} {% endblock %} {% block content %}
{% trans "Project" %}:
{{ table.project.name }}
{% trans "Type" %}:
{{ table.type }}
{% trans "Short description" %}:
{% if table.short_description %} {{ table.short_description|truncatewords:10 }} {% else %} ({% trans "No description" %}) {% endif %}

{% trans "Created" %}:
{{ table.created|date }} {% trans "by" %} {{ table.created_by_id|show_user_link }}
{% trans "Updated" %}:
{{ table.updated|date }} {% trans "by" %} {{ table.updated_by_id|show_user_link }}

{% trans "Back" %}
{% if draft_count %}
{% trans "You have unpublished comments. Other users won't see them unless you publish them." %}
{% endif %}

{% trans "Description" %}

{% if table.description %} {{ table.description }} {% else %} ({% trans "No description" %}) {% endif %}

{% trans "Fields" %}

{% include "field_heading.html" %} {% for field in fields %} {% include "field_row.html" %} {% empty %} {% endfor %}
{% trans "No entries found" %}

{% trans "Referenced by" %}

{% include "reference_heading.html" %} {% for ref in references %} {% include "reference_row.html" %} {% empty %} {% endfor %}
{% trans "No entries found" %}

{% trans "Comments" %}

{% trans "total" %}: {{ comment_count }} {% if draft_count %} +{{ draft_count }} {% trans "Drafts" %}{% endif %}
{% if comments %} {% endif %} {% for comment in comments %}
{% if comment.is_draft %} ({% trans "Draft" %}) {% else %} {{ comment.created_by|nickname }} {% endif %}
{{ comment.text|truncatewords:15 }}
{{ comment.created|timesince }} {% trans "ago" %}
{%endfor%} {% if comments %} {% endif %} {% if user %}
{% csrf_token %}
{% endif %}
{% endblock %}