{% extends "base.html" %} {% load static from staticfiles %} {% load humanize %} {% load display_tags %} {% block add_styles %} .chart {height: 150px} {% endblock %} {% block content %}
| {{ critical }} CRITICAL |
{{ high }} HIGH |
{{ medium }} MEDIUM |
{{ low }} LOW |
{{ info }} INFORMATIONAL |
{{ total }} TOTAL |
| Business Criticality | {{ prod.get_business_criticality_display|notspecified }} |
| Product Type | {{ prod.prod_type|notspecified }} |
| Platform | {{ prod.get_platform_display|notspecified }} |
| Lifecycle | {{ prod.get_lifecycle_display|notspecified }} |
| Origin | {{ prod.get_origin_display|notspecified }} |
| User Records | {% if prod.user_records > 0 %} {{ prod.user_records|intcomma }} {% else %} {{ prod.user_records|notspecified }} {% endif %} |
| Revenue | {% if prod.revenue > 0 %} {% if prod.revenue < 1000000 %}{{ prod.revenue|intcomma }}{% else %}{{ prod.revenue|intword }}{% endif %} {% else %} {{ prod.user_records|notspecified }} {% endif %} |
| {{ key }} | {{ value }} |
| Team Manager | {% if prod.manager != "0" %}{{ prod.manager | default:"Unknown" }}{% endif %} |
| Product Manager | {% if prod.prod_manager != "0" %}{{ prod.prod_manager | default:"Unknown" }}{% endif %} |
| Technical Contact | {% if prod.tech_contact != "0" %}{{ prod.tech_contact | default:"Unknown" }}{% endif %} |
| Authorized Users | {% if prod.authorized_users.all %} {% if prod.authorized_users.all.count > 1 %} {% for au in prod.authorized_users.all %} {{au}}{%if not forloop.last%},{%endif%} {% endfor %} {% else %} {{ prod.authorized_users.all.0 }} {% endif %} {% else %} {{ prod.authorized_users.all|notspecified }} {% endif %} |