Sha256: 57b6a30a2bfbfbef8437e38feceace32a262511ebf040dd4c50f3d5fba7ceedf

Contents?: true

Size: 1.48 KB

Versions: 11

Compression:

Stored size: 1.48 KB

Contents

- body_classes << "reversed"
- include_stylesheet('admin/reader')

- render_region :settings do |settings|
  - settings.administration do
    #reader_settings.box
      %h3
        .actions
          = button_to t("edit"), edit_admin_reader_settings_url, :method => :get
        =t("reader_extension.reader_admin")
      %p.ruled
        = show_config 'reader.allow_registration?'
      %p.ruled
        = show_config 'reader.require_confirmation?'
      %p.ruled
        = show_config 'reader.directory_visibility'
      %p.ruled
        = show_config 'reader.get_profile?'
      %p.ruled
        = show_config 'reader.show_honorifics?'
      %p.ruled
        = show_config 'reader.show_descriptions?'
      %p.ruled
        = show_config 'reader.layout'
      %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'

- render_region :messages do |messages|
  - messages.administration do
    #message_settings.box
      %h3
        =t("reader_extension.reader_emails")
  
      - MessageFunction.find_all.each do |func|
        - message = Message.functional(func)
        %p.ruled
          %label= func.description
          - if message
            = link_to message.subject, edit_admin_reader_settings_url(message)
          - else
            = link_to image('plus') + " create message", new_admin_message_url(:function => func), :class => 'create'


Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.33 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.32 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.31 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.30 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.29 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.28 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.27 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.26 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.25 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.24 app/views/admin/reader_configuration/show.html.haml
radiant-reader-extension-3.0.23 app/views/admin/reader_configuration/show.html.haml