[Pkg-debile-commits] [debile-web] 01/01: Some more random bugfixes
Jon Severinsson
jonno-guest at moszumanska.debian.org
Wed Mar 26 12:10:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
jonno-guest pushed a commit to branch master
in repository debile-web.
commit 8caadaa29bd07a89098bca06e9fe9eb33e8a80d2
Author: Jon Severinsson <jon at severinsson.net>
Date: Wed Mar 26 13:10:03 2014 +0100
Some more random bugfixes
---
debileweb/blueprints/frontend.py | 6 +++---
templates/group.html | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/debileweb/blueprints/frontend.py b/debileweb/blueprints/frontend.py
index 826a276..add7cba 100644
--- a/debileweb/blueprints/frontend.py
+++ b/debileweb/blueprints/frontend.py
@@ -308,10 +308,10 @@ def group(name, page=0):
.one()
source_count = session.query(Source)\
- .filter(Source.group == group)\
+ .filter(GroupSuite.group == group)\
.count()
sources = session.query(Source)\
- .filter(Source.group == group)\
+ .filter(GroupSuite.group == group)\
.order_by(Source.id.desc())\
.offset(page * ENTRIES_PER_PAGE)\
.limit(ENTRIES_PER_PAGE)\
@@ -524,7 +524,7 @@ def source(group_name, package_name, suite_or_version):
info = {}
info["job_status"] = (total, unfinished)
info['group_link'] = "/group/%s" % source.group.name
- info['uploader_link'] = "/user/%s" % source.uploader.name
+ info['uploader_link'] = "/user/%s" % source.uploader.email
return render_template('source.html', **{
"source": source,
diff --git a/templates/group.html b/templates/group.html
index eba24f3..e66f544 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -51,7 +51,7 @@
</div>
<div class='block'>
- <h3>Sources in Package Group {{grop.name}}</h3>
+ <h3>Sources in Package Group {{group.name}}</h3>
{% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
{% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
<div class = 'clear' ></div>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-web.git
More information about the Pkg-debile-commits
mailing list