Add registrar dashboard #2713

This commit is contained in:
Martin Lensment 2015-09-15 11:49:18 +03:00
parent ae29585ae2
commit 27f37b9ec4
11 changed files with 100 additions and 64 deletions

View file

@ -44,7 +44,7 @@
- active_class = ['registrar/invoices'].include?(params[:controller]) ? 'active' :nil
%li{class: active_class}= link_to t(:billing), registrar_invoices_path
- if !Rails.env.production? && can?(:view, :registrar_xml_console)
- if !Rails.env.production? && can?(:manage, :xml_console)
- active_class = ['registrar/xml_consoles'].include?(params[:controller]) ? 'active' :nil
%li{class: active_class}= link_to t(:xml_console), registrar_xml_console_path

View file

@ -0,0 +1,3 @@
.panel.panel-default
.panel-body
= t('welcome_to_eis_registrar_portal')