Sha256: cb7a41781186afedc4cabaa75e326de41c8a8556c6132c34363433e01b2173f4
Contents?: true
Size: 908 Bytes
Versions: 6
Compression:
Stored size: 908 Bytes
Contents
<h2 class="vlg-title">Activity</h2> <table class="table"> <thead> <tr> <th>Date</th> <th>Item Type</th> <th>Item Name</th> <th>Item ID</th> <th>Status</th> <th>User</th> </tr> </thead> <tbody> <% @activities.each do |activity| %> <tr> <td><%= activity.created_at.strftime('%d %b %H:%M') %></td> <td><%= activity.translation_state.item_class_name %></td> <td><%= link_to(activity.translation_state.item_name, activity.translation_state) %></td> <td><%= activity.translation_state.item.id %></td> <td><%= translation_status_label activity.status %></td> <td><%= activity.user.present? ? link_to(activity.user.name, vulgata_user_path(user_id: activity.user_id, user_type: activity.user_type)) : "" %></td> </tr> <% end %> </tbody> </table> <%= paginate @activities if @activities.present? %>
Version data entries
6 entries across 6 versions & 1 rubygems