Commit fef831ec authored by Nivaldo Neto's avatar Nivaldo Neto

alling left and add subtitle to activity update info

parent 33835a3c
......@@ -210,21 +210,21 @@
<%= link_to(@activity.external_link, (@activity.external_link), target: '_blank') %>
</p>
<% end %>
<div class="activity-text" style="text-align: center">
<div class="activity-subtitle">Atualizações</div>
<div class="activity-text">
<strong>Atividade inserida em:</strong>
<% date = DateTime.parse(@activity.created_at) %>
<%= date.strftime('%d/%m/%Y %H:%M:%S') %>
</div>
<% if @activity.updated_at.present? %>
<div class="activity-text" style="text-align: center">
<div class="activity-text">
<strong>Atividade atualizada em:</strong>
<% date = DateTime.parse(@activity.updated_at) %>
<%= date.strftime('%d/%m/%Y %H:%M:%S') %>
</div>
<% end %>
<% if @activity.inserted_by.present? %>
<div class="activity-text" style="text-align: center">
<div class="activity-text">
<strong>Atividade inserida por:</strong>
<%= @activity.inserted_by[:name] %>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment