]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/project.html
Resolve removed 'AUTH_PROFILE_MODULE' setting
[patchwork] / templates / patchwork / project.html
index 49ceb575829aa9a2b1df7fc1f858f406caaef181..be8cadc1f99096630cefe50be7fbee6153073b89 100644 (file)
   <th>Maintainer{{maintainers|length|pluralize}}</th>
   <td>
    {% for maintainer in maintainers %}
-    {{ maintainer.get_profile.name }}
+    {{ maintainer.profile.name }}
      &lt;<a href="mailto:{{maintainer.email}}">{{maintainer.email}}</a>&gt;
      <br />
    {% endfor %}
+  </td>
  </tr>
  <tr>
   <th>Patch count</th>
   <td>{{n_patches}} (+ {{n_archived_patches}} archived)</td>
  </tr>
+{% if project.web_url %}
+ <tr>
+  <th>Website</th>
+  <td><a href="{{project.web_url}}">{{project.web_url}}</a></td>
+ </tr>
+{% endif %}
+{% if project.webscm_url %}
+ <tr>
+  <th>Source Code Web Interface</th>
+  <td><a href="{{project.webscm_url}}">{{project.webscm_url}}</a></td>
+ </tr>
+{% endif %}
+{% if project.scm_url %}
+ <tr>
+  <th>Source Code Manager URL</th>
+  <td><a href="{{project.scm_url}}">{{project.scm_url}}</a></td>
+ </tr>
+{% endif %}
 </table>
 
 {% if settings.ENABLE_XMLRPC %}
-<p>Sample <a href="{% url patchwork.views.help "pwclient/" %}">patchwork
+<p>Sample <a href="{% url 'patchwork.views.help' "pwclient/" %}">patchwork
 client</a> configuration for this project: <a
-href="{% url patchwork.views.pwclientrc project.linkname %}"
+href="{% url 'patchwork.views.pwclientrc' project.linkname %}"
 >.pwclientrc</a>.</p>
 {% endif %}