Sha256: a60849c61ca9e4149422296072aa0f4fb57243bb7ee94025c6a7e004b9e541a4
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 KB
Contents
<div class="page-header"> <h3>Tags for <%= (link_to @account.name, account_path(@account.account_id)) if @account.present? %></h3> </div> <table class="table table-condensed table-striped data-table"> <thead> <tr> <th>Tag Name</th> <th>Executed date</th> <th>Execution type</th> <th>Executed by</th> <th>Comments</th> </tr> </thead> <tbody> <% if @tags.present? %> <% @tags.each do |tag| %> <% tag.audit_logs.each do |log| %> <tr> <td><%= link_to tag.tag_definition_name, tag_definition_path(:id => tag.tag_definition_id) %></td> <td><%= format_date(log.change_date, @account.timezone).html_safe if log.change_date.present? %></td> <td><span <% if log.change_type != 'INSERT' %>class='alert-error' <% else %>class='alert-success' <% end %>><%= log.change_type %></span></td> <td><%= log.changed_by %></td> <td><%= log.reason_code %> <%= log.comments %></td> </tr> <% end %> <% end %> <% end %> </tbody> </table>
Version data entries
4 entries across 4 versions & 1 rubygems