From 80331072d687d540f788aec832845c1e3cbc3b54 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Tue, 16 Jan 2018 10:04:08 +0200 Subject: [PATCH] Remove unused code --- app/views/registrar/shared/_nav.haml | 13 ------------- config/locales/en.yml | 1 - 2 files changed, 14 deletions(-) delete mode 100644 app/views/registrar/shared/_nav.haml diff --git a/app/views/registrar/shared/_nav.haml b/app/views/registrar/shared/_nav.haml deleted file mode 100644 index d85a17de3..000000000 --- a/app/views/registrar/shared/_nav.haml +++ /dev/null @@ -1,13 +0,0 @@ -- content_for :tabs do - .container.subnav - %ul.nav.nav-tabs.navbar-right - %li{role: :presentation, class: active == :domains ? 'active' : ''} - = link_to t(:all), registrar_domains_path - %li{role: :presentation, class: active == :new ? 'active' : ''} - = link_to t(:new), new_registrar_domain_path - %li{role: :presentation, class: active == :check ? 'active' : ''} - = link_to t(:check), check_registrar_domains_path - %li{role: :presentation, class: active == :transfer ? 'active' : ''} - = link_to t(:transfer), transfer_registrar_domains_path - %li{role: :presentation, class: active == :keyrelay ? 'active' : ''} - = link_to t(:keyrelay), registrar_keyrelay_path diff --git a/config/locales/en.yml b/config/locales/en.yml index 0a4a83c98..10c7db27a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -505,7 +505,6 @@ en: log_in: 'Log in' domains: 'Domains' register: 'Register' - check: 'Check' contacts: 'Contacts' domain_info: 'Domain info' domain_details: 'Domain details'