mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Add badges to locked domains
This commit is contained in:
parent
7ce092dff2
commit
faeeb55bc7
8 changed files with 80 additions and 7 deletions
|
@ -14,6 +14,11 @@ class DomainPresenter
|
|||
html += " #{label}"
|
||||
end
|
||||
|
||||
if domain.locked_by_registrant?
|
||||
label = view.content_tag(:span, 'registryLock', class: 'label label-danger')
|
||||
html += " #{label}"
|
||||
end
|
||||
|
||||
html.html_safe
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue