Sha256: 532c0649660e4a1def0b785ad66c9274cefca01c0dea162a8eb9c6608fb2ff14

Contents?: true

Size: 820 Bytes

Versions: 1

Compression:

Stored size: 820 Bytes

Contents

<div class="ui borderless menu">
  <div class="ui container">

  <div class="item">
    <strong>管理后台</strong>
  </div>
  <% if the_role_user.has_role?('admin/users', 'admin') %>
    <%= link_to '用户管理', admin_users_path, class: 'item' %>
    <%= link_to '角色管理', admin_whos_path, class: 'item' %>
    <%= link_to '化学品管理', admin_chemicals_path, class: 'item' %>
    <%= link_to '队列任务', '/sidekiq', class: 'item', target: '_blank' %>
  <% end %>
  <% if the_role_user.has_role?('admin/payments', 'admin') %>
    <%= link_to '财务管理', admin_payments_path, class: 'item' %>
  <% end %>
  <% if the_role_user.has_role?('the_data/data_lists', 'admin') %>
    <%= link_to '报表', data_lists_path, class: 'item' %>
  <% end %>
  <div class="right menu">

  </div>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.1 app/views/rails_trade_admin/base/_nav_bar.html.erb