+
+
diff --git a/app/helpers/content_viewer_helper.rb b/app/helpers/content_viewer_helper.rb index 3b31b3f..f7945d1 100644 --- a/app/helpers/content_viewer_helper.rb +++ b/app/helpers/content_viewer_helper.rb @@ -22,9 +22,14 @@ module ContentViewerHelper end comments = '' unless args[:no_comments] || !article.accept_comments - comments = ("- %s") % link_to_comments(article) + comments = (" - %s") % link_to_comments(article) end - title << content_tag('span', _("%s, by %s %s") % [show_date(article.published_at), link_to(article.author_name, article.author.url), comments], :class => 'created-at') + title << content_tag('span', + content_tag('span', show_date(article.published_at), :class => 'date') + + content_tag('span', [_(", by %s") % link_to(article.author_name, article.author.url)], :class => 'author') + + content_tag('span', comments, :class => 'comments'), + :class => 'created-at' + ) end title end diff --git a/app/views/layouts/application-ng.rhtml b/app/views/layouts/application-ng.rhtml index abb36a3..a4e0e39 100644 --- a/app/views/layouts/application-ng.rhtml +++ b/app/views/layouts/application-ng.rhtml @@ -66,8 +66,10 @@