Noosfero/noosfero

View on GitHub
plugins/elasticsearch/views/elasticsearch_plugin/_text_article_display.html.erb

Summary

Maintainability
Test Coverage
<div class="text_article-header">
  <%= show_time(text_article.created_at) %> - <%= "#{text_article.author.name} -" if text_article.author %> <span class="model-label"><%= model_label.singularize %></span>
</div>
<div class="body">
  <h2><%= link_to text_article.title, text_article.url %></h2>
  <p> <strong> <%= _("Abstract") %></strong>: <%= text_article.abstract %></p>
</div>