mirror of
https://github.com/internetee/registry.git
synced 2025-08-26 19:13:40 +02:00
Added demo switch dropdown
This commit is contained in:
parent
b3e3fc8703
commit
6231505cb4
2 changed files with 12 additions and 0 deletions
|
@ -43,8 +43,18 @@
|
|||
|
||||
- active_class = ['depp/xml_consoles'].include?(params[:controller]) ? 'active' :nil
|
||||
%li{class: active_class}= link_to t(:xml_console), depp.xml_console_path
|
||||
|
||||
%ul.nav.navbar-nav.navbar-right
|
||||
%li= link_to t('log_out', user: current_user), '/registrar/logout'
|
||||
%li.dropdown
|
||||
= link_to 'Registrar <span class="caret"></span>'.html_safe, '#',
|
||||
class: 'dropdown-toggle', 'data-toggle': 'dropdown', role: 'button'
|
||||
%ul.dropdown-menu{'role': 'menu'}
|
||||
%li.dropdown-header= t(:switch_to) + ':'
|
||||
%li= link_to t(:registrant), '#'
|
||||
%li= link_to t(:registrar), '#'
|
||||
%li.divider
|
||||
%li= link_to t(:admin_menu), '#'
|
||||
|
||||
/ /.nav-collapse
|
||||
.container
|
||||
|
|
|
@ -509,3 +509,5 @@ en:
|
|||
sim_error: 'SIM application error'
|
||||
internal_error: 'Internal error'
|
||||
client_side_status_editing_error: 'Parameter value policy error. Client-side object status management not supported'
|
||||
switch_to: Switch to
|
||||
admin_menu: Admin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue