aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-13 18:52:33 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-13 18:52:33 +0300
commitc68e86fa7575e077c74f951a661e69ec310f8a7d (patch)
treeb100ce063aa44d9264439bd49a62d89689c16358
parentCache views (diff)
downloadgentoo-packages-c68e86fa7575e077c74f951a661e69ec310f8a7d.tar.gz
gentoo-packages-c68e86fa7575e077c74f951a661e69ec310f8a7d.tar.bz2
gentoo-packages-c68e86fa7575e077c74f951a661e69ec310f8a7d.zip
Changes in maintainers template
-rw-r--r--gpackages/apps/packages/urls.py2
-rw-r--r--gpackages/templates/maintainers.html3
2 files changed, 4 insertions, 1 deletions
diff --git a/gpackages/apps/packages/urls.py b/gpackages/apps/packages/urls.py
index 5001bbb..c0207e9 100644
--- a/gpackages/apps/packages/urls.py
+++ b/gpackages/apps/packages/urls.py
@@ -12,7 +12,7 @@ urlpatterns = patterns('',
url(r'^herds/$', HerdsListView.as_view(), name = 'herds'),
url(r'^use/$', GlobalUseListView.as_view(), name = 'global_uses'),
url(r'^local_use/$', LocalUseListView.as_view(), name = 'local_uses'),
- url(r'^maintainers/$', MaintainersListView.as_view(), name = 'maintainers'),
+ url(r'^maintainers/{0}$'.format(MaintainersListView.get_url_part()), MaintainersListView.as_view(), name = 'maintainers'),
url(r'^repositories/$', RepositoriesListView.as_view(), name = 'repositories'),
url(r'^license-groups/$', LicenseGroupsView.as_view(), name = 'license_groups'),
url(r'^$', EbuildsListView.as_view(), name = 'ebuilds'),
diff --git a/gpackages/templates/maintainers.html b/gpackages/templates/maintainers.html
index 6e77b76..e09db72 100644
--- a/gpackages/templates/maintainers.html
+++ b/gpackages/templates/maintainers.html
@@ -9,11 +9,13 @@
<colgroup>
<col class="span3" >
<col class="span3" >
+ <col class="span2" >
</colgroup>
<thead>
<tr>
<th>Name</th>
<th>Email</th>
+ <th>Gentoo dev</th>
</tr>
</thead>
<tbody>
@@ -22,6 +24,7 @@
<td class="nowrap"><a href="{% url 'packages' maintainer=maintainer.pk %}">{{ maintainer.name|default:"Not represented" }}</a></td>
<!-- email should be obfuscated -->
<td class="nowrap"><a href="{{ 'mailto:'|add:maintainer.email|obfuscate }}">{{ maintainer.email|obfuscate }}</a></td>
+ <td>{% if maintainer.is_dev %}<span class="bool-ok">&#10004; Yes</span>{% else %}<span class="bool-no">&#10005; No</span>{% endif %}</td>
</tr>
{% endfor %}
</tbody>