Noosfero/noosfero

View on GitHub
app/views/shared/reported_versions/profile/_comment.html.erb

Summary

Maintainability
Test Coverage
<ul>
  <li><%= (content_tag('strong', _('Title') + ': ') + article.title)  if article.title %> </li>
  <li><%= content_tag('strong', _('Type') + ': ') + _('Comment') %> </li>
  <li>
    <%= (content_tag('strong', _('Original content') + ': ') + link_to(article.title || url_for(article.url), article.url)) %> <br />
    <%= content_tag('small', _('This link might be unavailable if the content is removed')) %>
  </li>
</ul>

<p>"<%= article.body %>"</p>