summaryrefslogtreecommitdiff
path: root/main/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-18 23:00:30 -0500
committerDan McGee <dan@archlinux.org>2011-04-18 23:00:30 -0500
commitd8022fd5720a8367a03bbff58668ed701a0bebcf (patch)
treeb51606f68dd34d6a10e17066c9a46b7ee80f0606 /main/admin.py
parent08ce9c5cd9a5d2dc0c15ee8c88ce7b78748339e5 (diff)
Add a "Report a Bug" link
We need Flyspray category data to make this more useful, and we can prefill the Subject and Category fields (along with putting it on the right project). Implements FS#23751. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/admin.py')
-rw-r--r--main/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/admin.py b/main/admin.py
index f93838d3..e86e5cab 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -14,7 +14,8 @@ class ArchAdmin(admin.ModelAdmin):
search_fields = ('name',)
class RepoAdmin(admin.ModelAdmin):
- list_display = ('name', 'testing', 'staging', 'bugs_project', 'svn_root')
+ list_display = ('name', 'testing', 'staging', 'bugs_project',
+ 'bugs_category', 'svn_root')
list_filter = ('testing', 'staging')
search_fields = ('name',)