Sha256: 84c74103826f1c846c5b9e1db9676eaa807bcd87e55939f24f362c05edf8d428

Contents?: true

Size: 598 Bytes

Versions: 2

Compression:

Stored size: 598 Bytes

Contents

<% if is_app_admin? %>
  <div id='admin-menu' class="dropdown">
    <% if defined?(peek_bar) && peek_bar %>
      <%= render 'peek/bar' %>
      <div id="admin-peek-btn" class="z-icon-dotted zuo-btn"></div>

      <% content_for :scripts do %>
        $('#admin-peek-btn').on('click', () => $('#peek').toggleClass('active'));
      <% end %>
    <% end %>
    <div class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      Admin
      <span class="z-icon-desc"></span>
    </div>
    <ul class="dropdown-menu">
      <%= yield %>
    </ul>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zuora_connect_ui-0.12.3 app/views/partials/_admin_menu.html.erb
zuora_connect_ui-0.12.2 app/views/partials/_admin_menu.html.erb