]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/project.html
Resolve removed 'AUTH_PROFILE_MODULE' setting
[patchwork] / templates / patchwork / project.html
index 4ea10094e5fcbc1b102ee07e277bc2bd290b44b0..be8cadc1f99096630cefe50be7fbee6153073b89 100644 (file)
@@ -1,4 +1,4 @@
-{% extends "patchwork/base.html" %}
+{% extends "base.html" %}
 
 {% block title %}{{ project.name }}{% endblock %}
 {% block heading %}{{ project.name }}{% endblock %}
   <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
+client</a> configuration for this project: <a
+href="{% url 'patchwork.views.pwclientrc' project.linkname %}"
+>.pwclientrc</a>.</p>
+{% endif %}
   
 {% endblock %}