{% extends "viralhostrangedb/base.html" %} {%load sstatic%} {%load i18n%} {%load viralhostrange_tags%} {% block title %}{{object|class_verbose_name}}{% endblock %} {% block page_title %} {{object|class_verbose_name}} {% endblock %} {% block content%}
{%trans "Information"%}
{{object|field_verbose_name:"name"}}
{{object.name}}
{%if object.description|length != 0 %}
{{object|field_verbose_name:"description"}}
{{object.description}}
{%else%} {% if object.owner == request.user %}
{{object|field_verbose_name:"description"}}
{%trans "Empty description! You should consider writing one."%}
{%endif%} {%endif%}
{%trans "Visibility"%}
{%if object.public %}{%trans "Public"%}{%else%}{%trans "Private"%}{%endif%}
{%if object.owner == request.user %}
{{object|field_verbose_name:"allowed_users"}}
{%for user in object.allowed_users.all%} {{user.username}}, {%endfor%}
{%trans "Origin"%}
{{object.raw_name}} ({{object.get_kind_display}})
{%endif%}
{{object|field_verbose_name:"creation_date"}}
{{object.creation_date}}
{{object|field_verbose_name:"last_edition_date"}}
{{object.last_edition_date}}
{%trans "Delete it" %}
{%trans "Content"%}
{%trans "Viruses"%} {{object.virus_set.count}}
{%trans "Strains"%} {{object.strain_set.count}}
{%trans "Responses"%} {{object.responseindatasource.count}}
{%trans "Browse it" %}
{%trans "Mapping used"%}
{%for raw,mapped in object.get_mapping%} {%endfor%}
{%trans "Response in data source"%} {%trans "Response mapped"%}
{{raw}} {{mapped.name}}
{% if object.is_mapping_done %} {%trans 'Edit mapping' %} {%else%} {%trans 'Complete mapping' %} {%endif%}
{%trans "Viruses"%}
    {%for o in object.virus_set.all %}
  • {{o.name}}
  • {%endfor%}
{%trans "Strains"%}
    {%for o in object.strain_set.all %}
  • {{o.name}}
  • {%endfor%}
{% endblock%}