{% extends "base.html" %} {% load i18n %} {% load static %} {% load humanize %} {% load display_tags %} {% load authorization_tags %} {% block add_styles %} {{ block.super }} .chart {height: 160px} {% endblock %} {% block content %} {{ block.super }}

{% trans "Description" %}

{{ prod.description|markdown_render }}

{% trans "Metrics" %}

{{ critical }} {{ high }} {{ medium }} {{ low }} {{ info }} {{ total }}

{% trans "Technologies" %} {% if app_analysis %}({{ app_analysis.count }}){% endif %} {% if prod|has_object_permission:"Technology_Add" %} {% endif %}

{% if app_analysis %} {% for app in app_analysis %} {% endfor %}
{{ app.name }} {{ app.version|version_num }}
{% else %}
  • {% trans "There are no technologies." %}
{% endif %}

{% trans "Regulations" %} {% if prod.regulations.count > 0%}({{ prod.regulations.count }}){%endif%}

    {% for regulation in prod.regulations.all %}
  • {{ regulation.get_category_display }}{{ regulation.acronym }} {{ regulation.jurisdiction }}
  • {% empty %}
  • {% trans "There are no regulations." %}
  • {% endfor %}
{% if system_settings.enable_benchmark %} {% endif %}

{% trans "Members" %}

  {% if prod|has_object_permission:"Product_Manage_Members" %} {% endif %}
{% if product_members or product_type_members %}
{% for member in product_members %} {% endfor %} {% for member in product_type_members %} {% endfor %}
{% trans "User" %} {% trans "Source" %} {% trans "Role" %}
{{ member.user.get_full_name }} {% trans "Product member" %} {{ member.role }}
{{ member.user.get_full_name }} {{ member.product_type }} {{ member.role }}
{% else %}
{% trans "No members found." %}
{% endif %}

{% trans "Groups" %}

  {% if prod|has_object_permission:"Product_Group_Add" %} {% endif %}
{% if product_groups or product_type_groups %}
{% for group in product_groups %} {% endfor %} {% for type_group in product_type_groups %} {% endfor %}
{% trans "Group" %} {% trans "Source" %} {% trans "Role" %}
{{ group.group.name }} {% trans "Product Group" %} {{ group.role }}
{{ type_group.group.name }} {{ type_group.product_type }} {{ type_group.role }}
{% else %}
{% trans "No groups found." %}
{% endif %}

{% trans "Metadata" %}

{% with jira_project=prod|jira_project %} {% if jira_project %} {% endif %} {% endwith %}
{% trans "Business Criticality" %} {{ prod.get_business_criticality_display|notspecified }}
{% trans "Product Type" %} {{ prod.prod_type|notspecified }}
{% trans "Platform" %} {{ prod.get_platform_display|notspecified }}
{% trans "Lifecycle" %} {{ prod.get_lifecycle_display|notspecified }}
{% trans "Origin" %} {{ prod.get_origin_display|notspecified }}
{% trans "User Records" %} {% if prod.user_records > 0 %} {{ prod.user_records|intcomma }} {% else %} {{ prod.user_records|notspecified }} {% endif %}
{% trans "Revenue" %} {% if prod.revenue > 0 %} {% if prod.revenue < 1000000 %}{{ prod.revenue|intcomma }}{% else %}{{ prod.revenue|intword }}{% endif %} {% else %} {{ prod.revenue|notspecified }} {% endif %}
{% trans "JIRA" %} {{ prod | jira_key }}
{% if system_settings.enable_finding_sla %}

 Service Level Agreement

{{ sla.name }}

{{ sla.description }}

Critical {{ sla.critical }} days to remediate
High {{ sla.high }} days to remediate
Medium {{ sla.medium }} days to remediate
Low {{ sla.low }} days to remediate
{% endif %} {% if languages %}

{% trans "Languages" %} ({{ languages.count }})

{% if langSummary.files__sum > 0 %} {{ langSummary.files__sum|intcomma }} {% trans "files" %} {% if langSummary.code__sum %} {% trans "and" %} {%endif%} {% endif %} {% if langSummary.code__sum %} {{ langSummary.code__sum|intcomma }} {% trans "lines of code" %} {% endif %}
{% endif %} {% if product_metadata %}

{% trans "Custom Fields" %}

{% for key, value in product_metadata.items %} {% endfor %}
{{ key }} {{ value }}
{% endif %}

{% trans "Contacts" %}

{% trans "Team Manager" %} {% if prod.team_manager != "0" %}{{ prod.team_manager | default:"Unknown" }}{% endif %}
{% trans "Product Manager" %} {% if prod.product_manager != "0" %}{{ prod.product_manager | default:"Unknown" }}{% endif %}
{% trans "Technical Contact" %} {% if prod.technical_contact != "0" %}{{ prod.technical_contact | default:"Unknown" }}{% endif %}
{% url 'notifications' as notifications_url %}

{% trans "Notifications" %}

{% csrf_token %}
{% if "slack" in enabled_notifications %} {% endif %} {% if "mail" in enabled_notifications %} {% endif %} {% for field in personal_notifications_form.visible_fields %} {% for pk,c in field.field.widget.choices %} {% if c != "msteams" and c in enabled_notifications %} {% endif %} {% endfor %} {% endfor %}
 {% trans "Slack" %}{% trans "Mail" %}{% trans "Alert" %}
{{ field.label }}  {% if field.help_text %} {% endif %}
{% endblock %} {% block postscript %} {{ block.super }} {% block metrics %} {% endblock metrics %} {% endblock %}