Sha256: 2281c7ab0546c471c56f43f5b22dda798fa209ca9e5869d0962bcbc3d43ac63f
Contents?: true
Size: 741 Bytes
Versions: 12
Compression:
Stored size: 741 Bytes
Contents
= nav_bar do = brand(app_name, url: root_path, with_environment: true) = nav_bar_links do - if logged_in? - if admin? = nav_dropdown("Admin") do = dropdown_item(announcements_text, admin_announcements_path) = dropdown_item(icon('user', "Users"), ucb_rails_admin_users_path) = render partial: 'layouts/developer' - else %li = link_to('Login', login_path) - if logged_in? = nav_bar_links(pull: 'right') do = nav_dropdown("Logged in as #{current_user.first_last_name}") do = dropdown_item(announcements_text, hidden_announcements_path) = dropdown_divider = dropdown_item(icon('remove', 'Logout'), logout_path)
Version data entries
12 entries across 12 versions & 1 rubygems