Skip to content
Snippets Groups Projects
Commit dc9ac6be9644 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

boxListing is a css class, not a view...

parent 3ad1f24392f0
No related branches found
No related tags found
No related merge requests found
......@@ -72,9 +72,11 @@
(firstday.strftime('%Y-%m-%d'), lastday.strftime('%Y-%m-%d')))
args = {'firstday':firstday, 'lastday':lastday}
nmb_entries = self.req.execute(self.countrql, args)[0][0]
label = u'%s %s [%s]' % (_(calendar.MONTHNAMES[month-1]), year, nmb_entries)
vtitle = '%s %s' % (_('BlogEntry_plural'), label)
url = html_escape(self.build_url('view', rql=rql, vtitle=vtitle, vid='full_list'))
label = u'%s %s [%s]' % (self.req._(calendar.MONTHNAMES[month-1]), year,
nmb_entries)
vtitle = '%s %s' % (self.req._('BlogEntry_plural'), label)
url = html_escape(self.build_url('view', rql=rql, vtitle=vtitle,
vid='full_list'))
link = u'<a href="%s" title="">%s</a>' % (url, label)
items.append( u'<li class="">%s</li>\n' % link )
......@@ -149,7 +151,7 @@
rqlst = rset.syntax_tree()
rqlst.set_limit(None)
rql = rqlst.as_string(kwargs=rset.args) # en gros...
url = self.build_url('view', vid='boxListing', rql=rql, page_size=10)
url = self.build_url('view', vid='full_list', rql=rql, page_size=10)
box.append(BoxLink(url, u'[%s]' % self.req._(u'see more')))
rss_icon = self.req.external_resource('RSS_LOGO_16')
# FIXME - could use rss_url defined as a property if available
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment