mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Update depp layout
This commit is contained in:
parent
e9a62ea379
commit
f841d342b5
3 changed files with 13 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
|||
%span.icon-bar
|
||||
%span.icon-bar
|
||||
%span.icon-bar
|
||||
= link_to registrar_root_path, class: 'navbar-brand' do
|
||||
= link_to main_app.registrar_root_path, class: 'navbar-brand' do
|
||||
EIS Registrar
|
||||
- if unstable_env.present?
|
||||
.text-center
|
||||
|
@ -29,7 +29,16 @@
|
|||
.navbar-collapse.collapse
|
||||
%ul.nav.navbar-nav
|
||||
- if can? :show, Invoice
|
||||
%li= link_to t('invoices'), registrar_invoices_path
|
||||
%li= link_to t('invoices'), main_app.registrar_invoices_path
|
||||
|
||||
- active_class = %w(domains check renew tranfer keyrelays).include?(params[:controller]) ? 'active' :nil
|
||||
%li{class: active_class}= link_to t(:domains), depp.domains_path
|
||||
|
||||
- active_class = ['contacts'].include?(params[:controller]) ? 'active' :nil
|
||||
%li{class: active_class}= link_to t(:contacts), contacts_path
|
||||
|
||||
- active_class = ['xml_consoles'].include?(params[:controller]) ? 'active' :nil
|
||||
%li{class: active_class}= link_to t(:xml_console), xml_console_path
|
||||
%ul.nav.navbar-nav.navbar-right
|
||||
%li= link_to t('log_out', user: current_user), '/registrar/logout'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue