mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Add zonefile button to domain
This commit is contained in:
parent
2a2acf92d5
commit
c426825881
3 changed files with 15 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
%h2.text-right.text-center-xs
|
%h2.text-right.text-center-xs
|
||||||
= link_to(t('shared.edit_statuses'), edit_admin_domain_path(@domain), class: 'btn btn-primary')
|
= link_to(t('shared.edit_statuses'), edit_admin_domain_path(@domain), class: 'btn btn-primary')
|
||||||
|
= link_to(t('generate_zonefile'), zonefile_admin_domain_path(@domain), class: 'btn btn-primary')
|
||||||
|
|
||||||
%hr
|
%hr
|
||||||
.row
|
.row
|
||||||
|
|
|
@ -1,2 +1,12 @@
|
||||||
= preserve do
|
.row
|
||||||
%pre= @zonefile
|
.col-sm-6
|
||||||
|
%h2.text-center-xs
|
||||||
|
= "#{t('zonefile')}"
|
||||||
|
.col-sm-6
|
||||||
|
%h2.text-right.text-center-xs
|
||||||
|
= link_to(t('shared.back_to_domain'), admin_domain_path(@domain), class: 'btn btn-default')
|
||||||
|
%hr
|
||||||
|
.row
|
||||||
|
.col-md-12
|
||||||
|
= preserve do
|
||||||
|
%pre= @zonefile
|
||||||
|
|
|
@ -423,3 +423,5 @@ en:
|
||||||
transfer_requested: 'Transfer requested.'
|
transfer_requested: 'Transfer requested.'
|
||||||
message_was_not_found: 'Message was not found'
|
message_was_not_found: 'Message was not found'
|
||||||
host_obj_is_not_allowed: 'hostObj object is not allowed'
|
host_obj_is_not_allowed: 'hostObj object is not allowed'
|
||||||
|
generate_zonefile: 'Generate zonefile'
|
||||||
|
zonefile: 'Zonefile'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue