Sha256: a5dd6b683fcc845d326b007919261cfa32ef93e778c1338e208ba53ce33d433f

Contents?: true

Size: 995 Bytes

Versions: 29

Compression:

Stored size: 995 Bytes

Contents

<div class="search">

  <div class="column-block">

    <h1>Kaui users
      <% if can? :create, Kaui::AdminTenant %>
          <%= link_to '&nbsp;<i class="fa fa-plus-square"></i>'.html_safe, new_admin_allowed_user_path %>
      <% end %></h1>

    <% unless @allowed_users.empty? %>
        <table id="allowed-users-table" class="table table-condensed table-striped mobile-data">
          <thead>
          <tr>
            <th>Name</th>
            <th>Description</th>
          </tr>
          </thead>
          <tbody>
          <% @allowed_users.each do |u| %>
              <tr>
                <td><%= link_to u.kb_username, admin_allowed_user_path(u.id) %></td>
                <td><%= u.description %></td>
              </tr>
          <% end %>
          </tbody>
        </table>
    <% end %>

  </div>

</div>

<%= javascript_tag do %>
  $(document).ready(function() {
      $('#allowed-users-table').dataTable({
      "dom": "t",
      "paging": false
    });
  });
<% end %>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
kaui-3.0.4 app/views/kaui/admin_allowed_users/index.html.erb
kaui-3.0.2 app/views/kaui/admin_allowed_users/index.html.erb
kaui-2.2.1 app/views/kaui/admin_allowed_users/index.html.erb
kaui-3.0.1 app/views/kaui/admin_allowed_users/index.html.erb
kaui-2.1.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-2.0.4 app/views/kaui/admin_allowed_users/index.html.erb
kaui-2.0.3 app/views/kaui/admin_allowed_users/index.html.erb
kaui-2.0.2 app/views/kaui/admin_allowed_users/index.html.erb
kaui-2.0.1 app/views/kaui/admin_allowed_users/index.html.erb
kaui-2.0.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-1.4.1 app/views/kaui/admin_allowed_users/index.html.erb
kaui-1.4.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-1.3.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-1.2.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-1.1.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-1.0.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.16.2 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.16.1 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.16.0 app/views/kaui/admin_allowed_users/index.html.erb
kaui-0.15.5 app/views/kaui/admin_allowed_users/index.html.erb