app/views/admin/reader_configuration/show.html.haml in radiant-reader-extension-1.1.1 vs app/views/admin/reader_configuration/show.html.haml in radiant-reader-extension-1.2.0

- old
+ new

@@ -1,40 +1,37 @@ - body_classes << "reversed" - include_stylesheet('admin/reader') -#reader_settings.box - %h3 - .actions - = button_to t("edit"), edit_admin_reader_configuration_url, :method => :get - =t("reader_admin") - - - render_region :settings do |settings| - - settings.registration do +- render_region :settings do |settings| + - settings.administration do + #reader_settings.box + %h3 + .actions + = button_to t("edit"), edit_admin_reader_configuration_url, :method => :get + =t("reader_admin") %p.ruled = show_config 'reader.allow_registration?' %p.ruled = show_config 'reader.require_confirmation?' %p.ruled = show_config 'reader.use_honorifics?' %p.ruled = show_config 'reader.layout' - - - settings.sender do %p.ruled = show_config 'email.name' %p.ruled = show_config 'email.address', :class => 'uri' %p.ruled = show_config 'email.prefix' %p.ruled = show_config 'email.layout' -#message_settings.box - %h4 - =t("reader_emails") +- render_region :messages do |messages| + - messages.administration do + #message_settings.box + %h3 + =t("reader_emails") - - render_region :messages do |messages| - - messages.administration do - MessageFunction.find_all.each do |func| - message = Message.functional(func) %p.ruled %label= func.description - if message