Commit 9c641759 authored by Vivek Anand's avatar Vivek Anand

remove assignee when showing the issues closed

parent 1c6b975e
......@@ -99,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&nbsp;(<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>
......@@ -143,7 +145,7 @@
<span title="{{issue.date_created.strftime('%Y-%m-%d %H:%M:%S')}}">{{
issue.date_created | humanize}}</span>
</td>
{% if status|lower != 'open' %}
{% 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')}}">{{
......@@ -166,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,
......@@ -175,6 +178,7 @@
{{ issue.user.user }}
</a>
</td>
{% endif %}
<td class="nowrap">
{% if issue.assignee %}
<a href="{{ url_for('view_issues', username=username,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment