From e7f9035c17431c9e8fceaa52239630b36f2fce91 Mon Sep 17 00:00:00 2001 From: Marcos Ramos Date: Fri, 27 Sep 2013 19:32:29 -0300 Subject: [PATCH] [tags] Display tags below blog posts. --- app/views/content_viewer/view_page.rhtml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/content_viewer/view_page.rhtml b/app/views/content_viewer/view_page.rhtml index 2528e7b..cfea22c 100644 --- a/app/views/content_viewer/view_page.rhtml +++ b/app/views/content_viewer/view_page.rhtml @@ -36,13 +36,6 @@ <% end %> -<% if !@page.tags.empty? %> -
- <%= _("This article's tags:") %> - <%= @page.tags.map { |t| link_to(t, :controller => 'profile', :profile => @profile.identifier, :action => 'tags', :id => t.name ) }.join("\n") %> -
-<% end %> - <% if @page.parent && !@page.parent.path.blank? %>
<%= button(:back, _('Go back to %s') % @page.parent.short_title, @page.parent.url) %> @@ -84,6 +77,13 @@
<% end %> +<% if !@page.tags.empty? %> +
+ <%= _("This article's tags:") %> + <%= @page.tags.map { |t| link_to(t, :controller => 'profile', :profile => @profile.identifier, :action => 'tags', :id => t.name ) }.join("\n") %> +
+<% end %> + <%= display_source_info(@page) %>
-- libgit2 0.21.2