mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Add legal documents view
This commit is contained in:
parent
038e03a16f
commit
3adab3f0ae
6 changed files with 31 additions and 0 deletions
14
app/views/admin/domains/partials/_legal_documents.haml
Normal file
14
app/views/admin/domains/partials/_legal_documents.haml
Normal file
|
@ -0,0 +1,14 @@
|
|||
.panel.panel-default
|
||||
.panel-heading.clearfix
|
||||
= t('legal_documents')
|
||||
.table-responsive
|
||||
%table.table.table-hover.table-bordered.table-condensed
|
||||
%thead
|
||||
%tr
|
||||
%th{class: 'col-xs-8'}= t('created_at')
|
||||
%th{class: 'col-xs-4'}= t('type')
|
||||
%tbody
|
||||
- @domain.legal_documents.each do |x|
|
||||
%tr
|
||||
%td= link_to(x.created_at, [:admin, x])
|
||||
%td= x.document_type
|
|
@ -25,3 +25,5 @@
|
|||
.col-md-12= render 'admin/domains/partials/dnskeys'
|
||||
.row
|
||||
.col-md-12= render 'admin/domains/partials/keyrelays'
|
||||
.row
|
||||
.col-md-12= render 'admin/domains/partials/legal_documents'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue