<table class="patchmeta">
<tr>
<th>Submitter</th>
- <td>{{ patch.submitter|personify }}</td></tr>
+ <td>{{ patch.submitter|personify:project }}</td>
</tr>
<tr>
<th>Date</th>
<td><a href="{{ patch.get_absolute_url }}">{{ patch.get_absolute_url }}</a>
</tr>
<tr>
- <th>State</td>
+ <th>State</th>
<td>{{ patch.state.name }}{% if patch.archived %}, archived{% endif %}</td>
</tr>
{% if patch.commit_ref %}
<tr>
- <th>Commit</td>
+ <th>Commit</th>
<td>{{ patch.commit_ref }}</td>
</tr>
{% endif %}
{% if patch.delegate %}
<tr>
- <th>Delegated to:</td>
- <td>{{ patch.delegate.get_profile.name }}</td>
+ <th>Delegated to:</th>
+ <td>{{ patch.delegate.profile.name }}</td>
</tr>
{% endif %}
<tr>
</td>
</tr>
<tr>
- <th>Delegate to:</td>
+ <th>Delegate to:</th>
<td>
{{ patchform.delegate }}
{{ patchform.delegate.errors }}
</td>
</tr>
<tr>
- <th>Archived:</td>
+ <th>Archived:</th>
<td>
{{ patchform.archived }}
{{ patchform.archived.errors }}
</tr>
{% endif %}
</table>
- </form>
</div>
{% endif %}
<h2>Comments</h2>
{% for comment in patch.comments %}
<div class="comment">
-<div class="meta">{{ comment.submitter|personify }} - {{comment.date}}</div>
+<div class="meta">{{ comment.submitter|personify:project }} - {{comment.date}}</div>
<pre class="content">
{{ comment|commentsyntax }}
</pre>