Blame progit/templates/issue.html
|
Pierre-Yves Chibon |
6e76e1 |
{% extends "repo_master.html" %}
|
|
Pierre-Yves Chibon |
7d6baa |
{% from "_formhelper.html" import render_field_in_list %}
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
1a7791 |
{% block title %}Issue #{{ issue.id}} - {{ repo.name }}{% endblock %}
|
|
Pierre-Yves Chibon |
6e76e1 |
{%block tag %}home{% endblock %}
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
6e76e1 |
{% block repo %}
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
6e76e1 |
Issue #{{ issue.id }}
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
a37659 |
{% if authenticated and form %}
|
|
Pierre-Yves Chibon |
11013f |
<section class="issue_action"></section>
|
|
Pierre-Yves Chibon |
556a8e |
|
|
Pierre-Yves Chibon |
7d6baa |
repo=repo.name, issueid=issue.id) }}" method="post">
|
|
Pierre-Yves Chibon |
948ae4 |
|
|
Pierre-Yves Chibon |
11013f |
|
|
Pierre-Yves Chibon |
556a8e |
|
|
Pierre-Yves Chibon |
11013f |
repo=repo.name, issueid=issue.id) }}">
|
|
Pierre-Yves Chibon |
11013f |
Edit
|
|
Pierre-Yves Chibon |
11013f |
|
|
Pierre-Yves Chibon |
7d6baa |
{{ render_field_in_list(form.status) }}
|
|
Pierre-Yves Chibon |
11013f |
|
|
Pierre-Yves Chibon |
7d6baa |
<input class="submit positive button" type="submit" value="Update">
|
|
Pierre-Yves Chibon |
11013f |
|
|
Pierre-Yves Chibon |
11013f |
|
|
Pierre-Yves Chibon |
7d6baa |
{{ form.csrf_token }}
|
|
Pierre-Yves Chibon |
7d6baa |
|
|
Pierre-Yves Chibon |
11013f |
|
|
Pierre-Yves Chibon |
a37659 |
{% endif %}
|
|
Pierre-Yves Chibon |
11013f |
|
|
Pierre-Yves Chibon |
6e76e1 |
<section class="issue_info"></section>
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
6e76e1 |
{{ issue.title }}
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
6e76e1 |
{% autoescape false %}
|
|
Pierre-Yves Chibon |
6e76e1 |
{{ issue.content | rst2html }}
|
|
Pierre-Yves Chibon |
6e76e1 |
{% endautoescape %}
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
Opened by
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
{{ issue.user }}
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
on {{ issue.date_created | humanize}}
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
008224 |
{% if issue.comments %}
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
<section class="issue_comments"></section>
|
|
Pierre-Yves Chibon |
ceda80 |
{% for comment in issue.comments %}
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
{% autoescape false %}
|
|
Pierre-Yves Chibon |
ceda80 |
{{ comment.comment | rst2html }}
|
|
Pierre-Yves Chibon |
ceda80 |
{% endautoescape %}
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
{{ comment.user }}
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
on {{ comment.date_created | humanize}}
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
{% endfor %}
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
008224 |
{% endif %}
|
|
Pierre-Yves Chibon |
008224 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
a37659 |
{% if authenticated %}
|
|
Pierre-Yves Chibon |
ceda80 |
<section class="add_comment"></section>
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
repo=repo.name, issueid=issue.id) }}" method="post">
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
<textarea id="comment" name="comment" title="comment"></textarea>
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
ceda80 |
{{ form.csrf_token }}
|
|
Pierre-Yves Chibon |
ceda80 |
<input class="submit positive button" type="submit" value="Comment">
|
|
Pierre-Yves Chibon |
ceda80 |
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
a37659 |
{% else %}
|
|
Pierre-Yves Chibon |
a37659 |
Login to comment on this ticket.
|
|
Pierre-Yves Chibon |
a37659 |
{% endif %}
|
|
Pierre-Yves Chibon |
6e76e1 |
|
|
Pierre-Yves Chibon |
6e76e1 |
{% endblock %}
|