Browse Source

cname fields more intuitive #17

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
b5ac525b47
  1. 5
      app/controllers/cnames_controller.rb

5
app/controllers/cnames_controller.rb

@ -3,8 +3,9 @@ class CnamesController < ApplicationController
conf.columns = [:name, :type, :content, :ttl, :prio, :change_date, :authentication_token]
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[:name].description = 'CNAME'
conf.columns[:content].label = 'Destination'
conf.columns[:content].description = 'FQDN Ex. "host.domain.com"'
conf.columns[:change_date].list_ui = :timestamp
conf.columns[:ttl].options = {:i18n_number => {:delimiter => ''}}
conf.actions.exclude :show

Loading…
Cancel
Save