Author: gjm
Date: Wed Aug 1 17:03:28 2012
New Revision: 1368125
URL: http://svn.apache.org/viewvc?rev=1368125&view=rev
Log:
dashboard: removes alternate download link - #145 (from olemis)
Modified:
incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/timeline.py
Modified:
incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/timeline.py
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/timeline.py?rev=1368125&r1=1368124&r2=1368125&view=diff
==============================================================================
---
incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/timeline.py
(original)
+++
incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/timeline.py
Wed Aug 1 17:03:28 2012
@@ -111,7 +111,8 @@ class TimelineWidget(WidgetBase):
exc.title = data.get('title', 'TracReports')
raise
else:
- merge_links(srcreq=fakereq, dstreq=req, exclude=["stylesheet"])
+ merge_links(srcreq=fakereq, dstreq=req,
+ exclude=["stylesheet", "alternate"])
add_stylesheet(req, 'dashboard/css/timeline.css')
data['today'] = today = datetime.now(req.tz)
data['yesterday'] = today - timedelta(days=1)
@@ -119,7 +120,8 @@ class TimelineWidget(WidgetBase):
{
'title' : _('Activity'),
'data' : data,
- 'altlinks' : fakereq.chrome.get('links',
{}).get('alternate')
+ 'altlinks' : fakereq.chrome.get('links',
+ {}).get('alternate')
}, \
context