Sha256: b6892600f0a716e52df84a08140504120c4bead3f7c67f83049b686b25d11001
Contents?: true
Size: 662 Bytes
Versions: 18
Compression:
Stored size: 662 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' %> <li class="list-group-item"><%= link_to 'Modify this member record', edit_member_path(member) %></li> <% end %> </ul> <% end -%> <% end -%>
Version data entries
18 entries across 18 versions & 1 rubygems