Skip to content
Browse files

Correct rendering of builtins on their detail panes

  • Loading branch information...
1 parent a98f301 commit 151a05d4bbed7fe3f25f8c8d0a758e1e0330ef4f @dcramer dcramer committed Feb 2, 2012
View
5 CHANGES
@@ -1,3 +1,8 @@
+Version 2.3.1
+-------------
+
+* Correct rendering of sites, urls, and servers on details panes.
+
Version 2.3.0
-------------
View
5 sentry/plugins/sentry_servers/__init__.py
@@ -32,7 +32,10 @@ def panels(self, request, group, panel_list, **kwargs):
return panel_list
def view(self, request, group, **kwargs):
- return self.render('sentry/plugins/sentry_servers/index.html')
+ return self.render('sentry/plugins/sentry_servers/index.html', {
+ 'unique_servers': self.get_unique_servers(group),
+ 'group': group,
+ })
def widget(self, request, group, **kwargs):
return self.render('sentry/plugins/sentry_servers/widget.html', {
View
2 sentry/plugins/sentry_servers/templates/sentry/plugins/sentry_servers/index.html
@@ -4,7 +4,7 @@
{% load sentry_helpers %}
{% block inner %}
- {% paginate group.unique_servers from request as server_list per_page 25 %}
+ {% paginate unique_servers from request as server_list per_page 25 %}
{% if server_list.objects %}
{{ server_list.paging }}
View
5 sentry/plugins/sentry_sites/__init__.py
@@ -31,7 +31,10 @@ def panels(self, request, group, panel_list, **kwargs):
return panel_list
def view(self, request, group, **kwargs):
- return self.render('sentry/plugins/sentry_sites/index.html')
+ return self.render('sentry/plugins/sentry_sites/index.html', {
+ 'group': group,
+ 'unique_sites': self.get_unique_sites(group),
+ })
def widget(self, request, group, **kwargs):
return self.render('sentry/plugins/sentry_sites/widget.html', {
View
2 sentry/plugins/sentry_sites/templates/sentry/plugins/sentry_sites/index.html
@@ -4,7 +4,7 @@
{% load sentry_helpers %}
{% block inner %}
- {% paginate group.unique_sites from request as site_list per_page 25 %}
+ {% paginate unique_sites from request as site_list per_page 25 %}
{% if site_list.objects %}
{{ site_list.paging }}
View
5 sentry/plugins/sentry_urls/__init__.py
@@ -31,7 +31,10 @@ def panels(self, request, group, panel_list, **kwargs):
return panel_list
def view(self, request, group, **kwargs):
- return self.render('sentry/plugins/sentry_urls/index.html')
+ return self.render('sentry/plugins/sentry_urls/index.html', {
+ 'group': group,
+ 'unique_urls': self.get_unique_urls(group),
+ })
def widget(self, request, group, **kwargs):
return self.render('sentry/plugins/sentry_urls/widget.html', {
View
2 sentry/plugins/sentry_urls/templates/sentry/plugins/sentry_urls/index.html
@@ -4,7 +4,7 @@
{% load sentry_helpers %}
{% block inner %}
- {% paginate group.unique_urls from request as url_list per_page 25 %}
+ {% paginate unique_urls from request as url_list per_page 25 %}
{% if url_list.objects %}
{{ url_list.paging }}
View
2 setup.py
@@ -45,7 +45,7 @@
setup(
name='sentry',
- version='2.3.0',
+ version='2.3.1',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/dcramer/sentry',

0 comments on commit 151a05d

Please sign in to comment.
Something went wrong with that request. Please try again.