]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/patch.html
Resolve removed 'AUTH_PROFILE_MODULE' setting
[patchwork] / templates / patchwork / patch.html
index c04e32b4dda26bb5956fffed5f4c380a12002222..f18ee3b789e92de900f4814a79fb90027c693f03 100644 (file)
@@ -30,7 +30,7 @@ function toggle_headers(link_id, headers_id)
 <table class="patchmeta">
  <tr>
   <th>Submitter</th>
-  <td>{{ patch.submitter|personify }}</td>
+  <td>{{ patch.submitter|personify:project }}</td>
  </tr>
  <tr>
   <th>Date</th>
@@ -68,7 +68,7 @@ function toggle_headers(link_id, headers_id)
 {% if patch.delegate %}
   <tr>
    <th>Delegated to:</th>
-   <td>{{ patch.delegate.get_profile.name }}</td>
+   <td>{{ patch.delegate.profile.name }}</td>
   </tr>
 {% endif %}
  <tr>
@@ -179,7 +179,7 @@ function toggle_headers(link_id, headers_id)
 <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>