{% extends "repo_master.html" %} {% from "_formhelper.html" import render_field, render_bootstrap_field, show_comment, show_initial_comment, show_attachments %} {% block title %}Issue #{{ issueid }}: {{issue.title | noJS(ignore="img") | safe }} - {{ repo.name }}{% endblock %} {% set tag = "home"%} {% block header %} {% endblock %} {% block repo %}
{{ form.csrf_token }}

#{{ issueid }} {{issue.title | noJS("img") | safe }} {% if issue.private %} {% endif %}

Created {{ issue.date_created | humanize}} by {{ issue.user.user }}
{% if issue.last_updated %}
Modified {{ issue.last_updated | humanize}}
{% endif %}
{{ show_initial_comment(issue, username, repo,issueid, form) }} {% if attachments %}
{{ show_attachments(attachments) }}
{% endif %}
{% if issue.comments %} {% for comment in issue.comments %} {% if comment.notification %}
{{ comment.date_created | humanize }}
{{ comment.comment | markdown | noJS | safe }}
{% else %} {{ show_comment(comment, comment.id, repo, username, issueid, form) }} {% endif %} {% endfor %} {% endif %}
{% if authenticated and form %} Preview {% if repo.quick_replies %} {% include "quick_reply.html" %} {% endif %}
Select files OR drag them into the comment field above. Markdown Syntax
{% else %}

Login to comment on this ticket.

{% endif %}
{% if authenticated and (g.repo_user or g.fas_user.username == issue.user.user) %} {{ render_bootstrap_field(form.status, formclass="issue-metadata-form") }} {{ render_bootstrap_field(form.close_status, formclass="issue-metadata-form") }} {% endif%} {% if authenticated and g.repo_user %} {% endif%} {% if authenticated and g.repo_user %} {% endif%} {% if authenticated and g.repo_user %} {% endif%} {% if authenticated and g.repo_user %} {% endif%} {% if repo.priorities %} {% if authenticated and g.repo_user %} {{ render_bootstrap_field(form.priority, formclass="issue-metadata-form") }} {% endif%} {% endif %} {% if repo.milestones %} {% if authenticated and g.repo_user %} {{ render_bootstrap_field(form.milestone, formclass="issue-metadata-form") }} {% endif%} {% endif %} {% if issue.private %} {% endif %} {% if authenticated and g.repo_user %} {{ render_bootstrap_field(form.private, formclass="issue-metadata-form") }} {% endif%} {% if authenticated and (g.repo_user or g.fas_user.username == issue.user.user) %} {% endif %}
{% if authenticated %} {% if subscribers %}
{% for subscriber in subscribers %} {{ subscriber |avatar(size=24) | safe }} {% endfor %}
{% endif %}
{% endif %} {% if repo.issue_keys %}
{% for field in repo.issue_keys %}

{% if field.name in knowns_keys %} {% if field.key_type == 'link' %} {% for link in knowns_keys[field.name].value.split(',') %} {{ link }}
{% endfor %} {% else %} {{ knowns_keys[field.name].value }} {% endif %} {% endif %}

{% if authenticated and g.repo_user %}
{% if field.key_type == 'list' %} {% else %} {% endif %}
{% endif %} {% endfor %} cancel {% if authenticated and g.repo_user %} Edit Metadata {% endif %}
{% endif %}
{% endblock %} {% block jscripts %} {{ super() }} {% if config['EVENTSOURCE_SOURCE'] and not issue.private %} {% endif %} {% if repo.quick_replies %} {% endif %} {% endblock %}