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