Skip to content
Snippets Groups Projects
Commit a939847d authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

fix author in learning object view

parent d76f0ea9
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
<h4 class="learning-object-heading"><%= learning_object_title learning_object %></h4>
<% end %>
<span class="author-label">Por <%= learning_object.get_metadata_value_of("dc.contributor.author") %></span><br/>
<span class="author-label">Por <%= learning_object.author || learning_object.publisher.name %></span><br/>
<i class="fa fa-eye" data-toggle="tooltip" data-placement="bottom" title="Visualizações"></i><%= learning_object.views.count %>&nbsp;&nbsp;&nbsp;
<i class="fa fa-thumbs-up" data-toggle="tooltip" data-placement="bottom" title="Curtidas"></i><span data-id="<%= learning_object.id %>" class="votes-count"><%= learning_object.likes.count %></span><br>
......
......@@ -15,7 +15,7 @@
<h4 class="media-heading"><%= learning_object_title(learning_object) %></h4>
<i class="fa fa-eye" data-toggle="tooltip" data-placement="bottom" title="Visualizações"></i><%= learning_object.views.size %>&nbsp;
<i class="fa fa-thumbs-up" data-toggle="tooltip" data-placement="bottom" title="Curtidas"></i><span data-id="<%= learning_object.id %>" class="votes-count"><%= learning_object.likes.size %></span>&nbsp;
<span class="author-label">Por <%= learning_object.get_metadata_value_of("dc.contributor.author") %></span>
<span class="author-label">Por <%= learning_object.author || learning_object.publisher.name %></span>
</div>
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment