Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5374846
domains_helper.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 8, 12:11 AM
Size
461 B
Mime Type
text/x-ruby
Expires
Thu, Sep 10, 12:11 AM (6 h, 45 m)
Engine
blob
Format
Raw Data
Handle
438026
Attached To
rWEBDNS WebDNS (edet4)
domains_helper.rb
View Options
module
DomainsHelper
# Human names for domain states
def
human_state
(
state
)
case
state
.
to_sym
when
:initial
then
'Initial'
when
:pending_install
then
'Becoming public'
when
:pending_dnssec
then
'Migrating to dnssec'
when
:pending_plain
then
'Removing dnssec'
when
:pending_remove
then
'Preparing removal'
when
:operational
then
'Operational'
when
:destroy
then
'Ready to be destroyed'
else
state
end
end
end
Event Timeline
Log In to Comment