mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Restructure buttons
This commit is contained in:
parent
25fed4f75c
commit
ba93ac8162
4 changed files with 7 additions and 8 deletions
|
@ -1,10 +1,6 @@
|
|||
.row
|
||||
.col-sm-6
|
||||
.col-sm-12
|
||||
%h2.text-center-xs= t('shared.domains')
|
||||
.col-sm-6
|
||||
%h2.text-right.text-center-xs
|
||||
= link_to(t('shared.request_domain_transfer'), new_client_domain_transfer_path, class: 'btn btn-primary')
|
||||
= link_to(t('shared.add'), new_client_domain_path, class: 'btn btn-primary')
|
||||
%hr
|
||||
.row
|
||||
.col-md-12
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
= "#{t('shared.domain_details')}"
|
||||
.col-sm-6
|
||||
%h2.text-right.text-center-xs
|
||||
= link_to(t('shared.transfer'), new_client_domain_domain_transfer_path(@domain), class: 'btn btn-primary')
|
||||
= link_to(t('shared.edit'), edit_client_domain_path(@domain), class: 'btn btn-primary')
|
||||
= link_to(t('shared.delete'), client_domain_path(@domain), method: :delete, data: { confirm: t('shared.are_you_sure') }, class: 'btn btn-danger')
|
||||
|
||||
|
|
|
@ -29,9 +29,11 @@
|
|||
%span.caret
|
||||
%ul.dropdown-menu{role: "menu"}
|
||||
%li
|
||||
= link_to t('shared.check'), client_domains_path
|
||||
= link_to t('shared.domain_list'), client_domains_path
|
||||
%li
|
||||
= link_to t('shared.register'), '#'
|
||||
= link_to t('shared.register_new_domain'), new_client_domain_path
|
||||
%li
|
||||
= link_to t('shared.transfer_domain'), new_client_domain_transfer_path
|
||||
|
||||
%li.dropdown
|
||||
%a.dropdown-toggle{"data-toggle" => "dropdown", href: "#"}
|
||||
|
|
|
@ -295,3 +295,5 @@ en:
|
|||
request_domain_transfer: 'Request domain transfer'
|
||||
password_invalid: 'Password invalid!'
|
||||
domain_was_not_found: 'Domain was not found!'
|
||||
domain_list: 'Domain list'
|
||||
register_new_domain: 'Register new domain'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue