Skip to content
Snippets Groups Projects
Commit 0ab3a2e44be3 authored by Sandrine Ribeau's avatar Sandrine Ribeau
Browse files

ticket #914504, fix blogentry title by moving date below separating line

parent 4ebf5a6d1a54
No related branches found
No related tags found
No related merge requests found
...@@ -56,5 +56,5 @@ ...@@ -56,5 +56,5 @@
float:right; float:right;
} }
span.author { div.author_date span{
float:right; float:right;
...@@ -60,4 +60,3 @@ ...@@ -60,4 +60,3 @@
float:right; float:right;
font-size: 1.2em;
} }
...@@ -62,4 +61,4 @@ ...@@ -62,4 +61,4 @@
} }
div.creation_date { div.author_date {
font-size:1.2em; font-size:1.2em;
...@@ -65,5 +64,6 @@ ...@@ -65,5 +64,6 @@
font-size:1.2em; font-size:1.2em;
border-bottom-style: ridge; font-style:italic;
border-bottom-color: #CCC; border-top-style: ridge;
border-bottom-width: thin; border-top-color: #CCC;
border-top-width: thin;
} }
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
_ = self._cw._ _ = self._cw._
w(u'<div class="post">') w(u'<div class="post">')
w(u'<h1>%s</h1>' % entity.view('incontext')) 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)) self._cw.format_date(entity.creation_date))
creator = entity.creator creator = entity.creator
if creator: if creator:
...@@ -141,5 +141,5 @@ ...@@ -141,5 +141,5 @@
rql = 'Any X ORDERBY D DESC WHERE X is BlogEntry, X created_by Y, '\ rql = 'Any X ORDERBY D DESC WHERE X is BlogEntry, X created_by Y, '\
'Y eid %s, X creation_date D' % creator.eid 'Y eid %s, X creation_date D' % creator.eid
url = self._cw.build_url('view', rql=rql, vtitle=vtitle, page_size=10) 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())) _('by'), xml_escape(vtitle), xml_escape(url), creator.name()))
...@@ -145,4 +145,5 @@ ...@@ -145,4 +145,5 @@
_('by'), xml_escape(vtitle), xml_escape(url), creator.name())) _('by'), xml_escape(vtitle), xml_escape(url), creator.name()))
w(u'</span></div>')
w(u'<div class="entry">') w(u'<div class="entry">')
body = entity.printable_value('content') body = entity.printable_value('content')
w(body) w(body)
......
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