Commit e7f9035c17431c9e8fceaa52239630b36f2fce91
1 parent
fca8659a
Exists in
master
and in
29 other branches
[tags] Display tags below blog posts.
(ActionItem2614) Signed-of-by: Victor Hugo Alves de Carvalho <victorhugodf.ac@gmail.com> Signed-of-by: Rafael de Souza Queiroz <querafael@live.com>
Showing
1 changed file
with
7 additions
and
7 deletions
Show diff stats
app/views/content_viewer/view_page.rhtml
| @@ -36,13 +36,6 @@ | @@ -36,13 +36,6 @@ | ||
| 36 | </div> | 36 | </div> |
| 37 | <% end %> | 37 | <% end %> |
| 38 | 38 | ||
| 39 | -<% if !@page.tags.empty? %> | ||
| 40 | - <div id="article-tags"> | ||
| 41 | - <%= _("This article's tags:") %> | ||
| 42 | - <%= @page.tags.map { |t| link_to(t, :controller => 'profile', :profile => @profile.identifier, :action => 'tags', :id => t.name ) }.join("\n") %> | ||
| 43 | - </div> | ||
| 44 | -<% end %> | ||
| 45 | - | ||
| 46 | <% if @page.parent && !@page.parent.path.blank? %> | 39 | <% if @page.parent && !@page.parent.path.blank? %> |
| 47 | <div id="article-parent"> | 40 | <div id="article-parent"> |
| 48 | <%= button(:back, _('Go back to %s') % @page.parent.short_title, @page.parent.url) %> | 41 | <%= button(:back, _('Go back to %s') % @page.parent.short_title, @page.parent.url) %> |
| @@ -84,6 +77,13 @@ | @@ -84,6 +77,13 @@ | ||
| 84 | </div> | 77 | </div> |
| 85 | <% end %> | 78 | <% end %> |
| 86 | 79 | ||
| 80 | +<% if !@page.tags.empty? %> | ||
| 81 | + <div id="article-tags"> | ||
| 82 | + <%= _("This article's tags:") %> | ||
| 83 | + <%= @page.tags.map { |t| link_to(t, :controller => 'profile', :profile => @profile.identifier, :action => 'tags', :id => t.name ) }.join("\n") %> | ||
| 84 | + </div> | ||
| 85 | +<% end %> | ||
| 86 | + | ||
| 87 | <%= display_source_info(@page) %> | 87 | <%= display_source_info(@page) %> |
| 88 | 88 | ||
| 89 | <div class="comments" id="comments_list"> | 89 | <div class="comments" id="comments_list"> |