{% extends "layouts/content-bootstrap.html" %} {% load i18n %} {% load keep_spacing %} {% block styles %} {% endblock %} {% block content %}

Image Report {{ image_report.name }}

Status:  {% if image_report.is_published %} Published {% else %} Not Published {% endif %}
Description: {{ image_report.description|keep_spacing|linebreaks }}

Manage

Edit this image report.
Preview this image report.
{% if image_report.is_published %} Unpublish this image report.   {% else %} Publish this image report.   {% endif %}
{% if image_report.is_published %}

Organise

Image Report Group label:  
{{ image_report.image_report_group|default:"Click here to select"}}
{% if image_report.image_report_group %} {% else %} {% endif %}   

Ownership

Maintainer: {{ image_report.user }}   
Group edit permission:  
{{ image_report.group|default:"Click here to select"}}
  
{% endif %}

Charts

Add new chart
{% for image_chart in image_report.imagereportchart_set.all %}
{{ image_chart.name }} remove details
Description: {{ image_chart.description }}
Chart type: {{ image_chart.chart_type }}
Target goal: {{ image_chart.target_goal|floatformat:"-2" }}
{% if image_chart.chart_type == "pass/fail" %}
Percentage: {{ image_chart.is_percentage|yesno:"Yes,No" }}
{% endif %}
{% empty %}
  • No charts added yet.
  • {% endfor %}
    {% endblock %} {% block scripts %} {% if image_report.is_published %} {% endif %} {% endblock %}