Browse Source

tweak descriptions

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
18ebe21e1e
  1. 2
      app/controllers/as_controller.rb
  2. 2
      app/controllers/cnames_controller.rb
  3. 2
      app/controllers/domains_controller.rb
  4. 2
      app/controllers/mxes_controller.rb

2
app/controllers/as_controller.rb

@ -4,7 +4,7 @@ class AsController < ApplicationController
conf.create.columns = [:name, :content, :ttl,]
conf.update.columns = [:name, :content, :ttl]
conf.columns[:content].label = 'IP'
conf.columns[:content].description = 'Ex. 10.10.5.12'
conf.columns[:content].description = 'Ex. "10.10.5.12"'
conf.columns[:change_date].list_ui = :timestamp
conf.actions.exclude :show
end

2
app/controllers/cnames_controller.rb

@ -4,7 +4,7 @@ class CnamesController < ApplicationController
conf.create.columns = [:name, :content, :ttl]
conf.update.columns = [:name, :content, :ttl]
conf.columns[:content].label = 'FQDN'
conf.columns[:content].description = 'Ex. host.domain.com'
conf.columns[:content].description = 'Ex. "host.domain.com"'
conf.columns[:change_date].list_ui = :timestamp
conf.actions.exclude :show
end

2
app/controllers/domains_controller.rb

@ -5,7 +5,7 @@ class DomainsController < ApplicationController
conf.list.columns = [:name, :records]
conf.create.columns = [:name, :soa_record, :ns_records]
conf.update.columns = [:name, :soa_record, :ns_records]
conf.columns[:name].description = 'domain.com'
conf.columns[:name].description = 'Ex. "domain.com"'
conf.columns[:ns_records].show_blank_record = false
conf.actions.exclude :show
conf.list.sorting = { :name => :asc }

2
app/controllers/mxes_controller.rb

@ -4,7 +4,7 @@ class MxesController < ApplicationController
conf.create.columns = [:content, :ttl, :prio]
conf.update.columns = [:content, :ttl, :prio]
conf.columns[:content].label = 'MX'
conf.columns[:content].description = 'Ex. mail.domain.com'
conf.columns[:content].description = 'Ex. "mail.domain.com"'
conf.columns[:change_date].list_ui = :timestamp
conf.actions.exclude :show
end

Loading…
Cancel
Save