|
|
@ -20,6 +20,7 @@ class RecordsController < ApplicationController |
|
|
|
conf.sti_children = [:SOA, :NS, :MX, :A, :CNAME, :TXT] |
|
|
|
conf.sti_children = [:SOA, :NS, :MX, :A, :CNAME, :TXT] |
|
|
|
conf.columns = [:name, :type, :content, :ttl, :prio, :change_date] |
|
|
|
conf.columns = [:name, :type, :content, :ttl, :prio, :change_date] |
|
|
|
conf.columns[:change_date].list_ui = :timestamp |
|
|
|
conf.columns[:change_date].list_ui = :timestamp |
|
|
|
|
|
|
|
conf.columns[:ttl].options = {:i18n_number => {:delimiter => ''}} |
|
|
|
# conf.create.link.label = "Add Record" |
|
|
|
# conf.create.link.label = "Add Record" |
|
|
|
conf.actions.exclude :show |
|
|
|
conf.actions.exclude :show |
|
|
|
end |
|
|
|
end |
|
|
|