Sha256: 21db1f1c538ab88ac904c8d8a5161bb3941a8ac8c16f13cc571c73923587f12e

Contents?: true

Size: 1.07 KB

Versions: 13

Compression:

Stored size: 1.07 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| %>
        <% log = tag.audit_logs.first if tag.audit_logs.present? %>
        <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><%= log.change_type if log.change_type.present? %></td>
          <td><%= log.changed_by if log.changed_by.present? %></td>
          <td><%= log.reason_code if log.reason_code.present? %> <%= log.comments if log.comments.present? %></td>
        </tr>
      <% end #end tag%>
    <% end #end if tags present%>
  </tbody>
</table>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kaui-0.6.2 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.6.1 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.6.0 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.5.3 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.5.2 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.5.1 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.5.0 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.4.9 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.4.8 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.4.7 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.4.6 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.4.5 app/views/kaui/account_tags/_account_tags_table.html.erb
kaui-0.4.4 app/views/kaui/account_tags/_account_tags_table.html.erb