blob: 2cdbb280d52b731db4f907b3d079948b5256b39b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{% extends "base.html" %}
{% block page_title %}
Bug {{ bd.bug_shortname(bug) }} – {{ bug.summary }}
{% endblock %}
{% block content %}
<p class="creation-info">Created on {{ bug.time|datetimeformat }} by {{ bug.creator|e }}</p>
<h3>Bug Details</h3>
<p>
<span class="detail-field-header">Status:</span>
<span class="detail-field-contents">{{ bug.status }}</span><br />
<span class="detail-field-header">Severity:</span>
<span class="detail-field-contents">{{ bug.severity }}</span><br />
<span class="detail-field-header">Scheduled for:</span>
<span class="detail-field-contents">{{ bug.target }}</span><br />
<span class="detail-field-header">Assigned to:</span>
<span class="detail-field-contents">{{ bug.assigned|e }}</span><br />
<span class="detail-field-header">Permanent ID:</span>
<span class="detail-field-contents">{{ bug.uuid }}</span><br />
</p>
<h3>Summary</h3>
<p>
{{ bug.summary }}
</p>
<h3>Comments</h3>
{% for comment in bug.comments() %}
<div class="bug-comment">
<h4 class="bug-comment-header">{{ comment.From|striptags|e }} said:</h4>
<p class="bug-comment-body">{{ comment.body|trim|e }}</p>
<p class="bug-comment-footer">on {{ comment.time|datetimeformat }}</p>
</div>
{% endfor %}
<form id="add-comment-form" class="vertical" action="/comment" method="post">
<fieldset>
<input type="hidden" name="id" value="{{ bug.uuid }}" />
<div class="field">
<label for="add-comment-body">Comment</label>
<textarea cols="60" rows="6" id="add-comment-body" name="body"></textarea>
</div>
<div class="buttons">
<button type="submit">Submit</button>
</div>
</fieldset>
</form>
<p id="add-comment-link"><a href="" id="add-comment">+ Add a comment</a></p>
{% endblock %}
|