diff --git a/data/cubes.blog.css b/data/cubes.blog.css index 4ebf5a6d1a549a53d857eff6f6b3d984b4534f06_ZGF0YS9jdWJlcy5ibG9nLmNzcw==..0ab3a2e44be31a1a5fc9e1d560f9e1b4809d4152_ZGF0YS9jdWJlcy5ibG9nLmNzcw== 100644 --- a/data/cubes.blog.css +++ b/data/cubes.blog.css @@ -56,5 +56,5 @@ float:right; } -span.author { +div.author_date span{ float:right; @@ -60,4 +60,3 @@ float:right; - font-size: 1.2em; } @@ -62,4 +61,4 @@ } -div.creation_date { +div.author_date { font-size:1.2em; @@ -65,5 +64,6 @@ font-size:1.2em; - border-bottom-style: ridge; - border-bottom-color: #CCC; - border-bottom-width: thin; + font-style:italic; + border-top-style: ridge; + border-top-color: #CCC; + border-top-width: thin; } diff --git a/views/secondary.py b/views/secondary.py index 4ebf5a6d1a549a53d857eff6f6b3d984b4534f06_dmlld3Mvc2Vjb25kYXJ5LnB5..0ab3a2e44be31a1a5fc9e1d560f9e1b4809d4152_dmlld3Mvc2Vjb25kYXJ5LnB5 100644 --- a/views/secondary.py +++ b/views/secondary.py @@ -133,7 +133,7 @@ _ = self._cw._ w(u'<div class="post">') w(u'<h1>%s</h1>' % entity.view('incontext')) - w(u'<div class="creation_date">%s</div>' % + w(u'<div class="author_date"><span>%s' % self._cw.format_date(entity.creation_date)) creator = entity.creator if creator: @@ -141,5 +141,5 @@ rql = 'Any X ORDERBY D DESC WHERE X is BlogEntry, X created_by Y, '\ 'Y eid %s, X creation_date D' % creator.eid url = self._cw.build_url('view', rql=rql, vtitle=vtitle, page_size=10) - w(u'<span class="author">%s <a title="%s" href="%s">%s</a></span>' % ( + w(u' %s <a title="%s" href="%s">%s</a>' % ( _('by'), xml_escape(vtitle), xml_escape(url), creator.name())) @@ -145,4 +145,5 @@ _('by'), xml_escape(vtitle), xml_escape(url), creator.name())) + w(u'</span></div>') w(u'<div class="entry">') body = entity.printable_value('content') w(body)