Sha256: 42c19934f1da741c59f365aa92fbc11f04b5e94d7e187b70f4f1e10114d6dcfc

Contents?: true

Size: 552 Bytes

Versions: 22

Compression:

Stored size: 552 Bytes

Contents

<% if administrator? %>

  <% content_for :admin_context_menu do %>

    <h2><%= t('admin_section') %></h2>
    <ul class="list-group">
      <li class="list-group-item"><%= link_to t('admin_panel'), members_path %></li>
      <%= content_tag :li, link_to( "#{t('activerecord.models.comments').capitalize} <span class='badge'>#{Comment.pending.count}</span>".html_safe, pending_comments_path ), class: 'list-group-item' if Comment.pending.count > 0 %>
      <% if controller.action_name == 'show' %>
      <% end %>
    </ul>

  <% end -%>

<% end -%>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
tkh_mailing_list-0.12 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.11.3 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.11.2 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.11.1.1 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.11.1 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.11 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.10.10 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.10.9.1 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.10.9 app/views/profiles/_admin_context_menu.html.erb
tkh_authentication-0.9.17.2 app/views/reception/_admin_context_menu.html.erb
tkh_authentication-0.9.17.1 app/views/reception/_admin_context_menu.html.erb
tkh_mailing_list-0.10.8 app/views/profiles/_admin_context_menu.html.erb
tkh_authentication-0.9.17 app/views/reception/_admin_context_menu.html.erb
tkh_mailing_list-0.10.7 app/views/profiles/_admin_context_menu.html.erb
tkh_authentication-0.9.16 app/views/reception/_admin_context_menu.html.erb
tkh_mailing_list-0.10.6 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.10.5 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.10.4 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.10.3 app/views/profiles/_admin_context_menu.html.erb
tkh_mailing_list-0.10.2 app/views/profiles/_admin_context_menu.html.erb