| |
@@ -86,6 +86,9 @@
|
| |
<tr>
|
| |
<th id="issue-title">Issue</th>
|
| |
<th class="open_date">Opened</th>
|
| |
+ {% if status and status|lower != 'open' %}
|
| |
+ <th class="close_date">Closed</th>
|
| |
+ {% endif %}
|
| |
<th class="priority" data-sort="int">
|
| |
Priority (<a href="{{ url_for('view_issues', username=username,
|
| |
repo=repo.name, tags=tags, author=author, assignee=assignee,
|
| |
@@ -96,11 +99,13 @@
|
| |
repo=repo.name, tags=tags, assignee=assignee, priority=priority,
|
| |
status=status) }}">reset</a>)
|
| |
</th>
|
| |
+ {% if not status or status|lower == 'open' %}
|
| |
<th class="assigned">
|
| |
Assignee (<a href="{{ url_for('view_issues', username=username,
|
| |
repo=repo.name, tags=tags, author=author, priority=priority,
|
| |
status=status) }}">reset</a>)
|
| |
</th>
|
| |
+ {% endif %}
|
| |
</tr>
|
| |
</thead>
|
| |
<tfoot>
|
| |
@@ -140,6 +145,14 @@
|
| |
<span title="{{issue.date_created.strftime('%Y-%m-%d %H:%M:%S')}}">{{
|
| |
issue.date_created | humanize}}</span>
|
| |
</td>
|
| |
+ {% if status and status|lower != 'open' %}
|
| |
+ <td class="nowrap">
|
| |
+ {% if issue.closed_at != None %}
|
| |
+ <span title="{{issue.closed_at.strftime('%Y-%m-%d %H:%M:%S')}}">{{
|
| |
+ issue.closed_at | humanize}}</span>
|
| |
+ {% endif %}
|
| |
+ </td>
|
| |
+ {% endif %}
|
| |
<td class="td-priority nowrap" data-sort-value="{{
|
| |
issue.priority
|
| |
if issue.priority
|
| |
@@ -155,6 +168,7 @@
|
| |
</a>
|
| |
{% endif %}
|
| |
</td>
|
| |
+ {% if not status or status|lower == 'open' %}
|
| |
<td class="nowrap">
|
| |
<a href="{{ url_for('view_issues', username=username,
|
| |
repo=repo.name, author=issue.user.user,
|
| |
@@ -164,6 +178,7 @@
|
| |
{{ issue.user.user }}
|
| |
</a>
|
| |
</td>
|
| |
+ {% endif %}
|
| |
<td class="nowrap">
|
| |
{% if issue.assignee %}
|
| |
<a href="{{ url_for('view_issues', username=username,
|
| |
I bet you didn't run the tests :)