Commit c55010be6f421379158f82e49813012e269eb5f2

Authored by Antonio Terceiro
1 parent f9b47d6f

Display source also for published articles from other profiles

(ActionItem1628)
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
app/views/content_viewer/view_page.rhtml
... ... @@ -109,6 +109,10 @@
109 109 <div id="article-source">
110 110 <%= _('Source: %s') % link_to(@page.source, @page.source) %>
111 111 </div>
  112 +<% elsif @page.reference_article %>
  113 +<div id="article-source">
  114 + <%= _('Source: %s') % link_to(@page.reference_article.profile.name, @page.reference_article.url) %>
  115 +</div>
112 116 <% end %>
113 117  
114 118 <div class="comments">
... ...