Sha256: 2ce35f22ca33d28fa95d43934256d5b142e3ec3ff05f3e6d55d732cf60a51d89

Contents?: true

Size: 1.58 KB

Versions: 60

Compression:

Stored size: 1.58 KB

Contents

- body_classes << "reversed"

#preferences.box
  - render_region :user do |user|
    - user.preferences do
      %h3
        .actions
          = button_to t("edit_preferences"), "/admin/preferences", :method => :get
        = t('personal_preferences')
      = image_tag(gravatar_url(@user.email, :size=>"64px"), :class=>"avatar", :width=>64, :height=>64, :alt=>"")
      %p.ruled
        %label
          = t('name')
        %span
          = current_user.name
      %p.ruled
        %label
          = t('email_address')
        %span.uri
          = current_user.email
      %p.ruled
        %label
          = t('login')
        %span
          = current_user.login
      %p.ruled
        %label
          = t('password')
        %big &bull;&bull;&bull;&bull;&bull;
      %p.ruled
        %label
          = t('language')
        %span
          = current_user.locale

#config.box
  - render_region :trusty_config do |config|
    - config.site do
      %h3
        - if admin?
          .actions
            = button_to t("edit_configuration"), edit_admin_configuration_path, :method => :get
        Configuration
      - TrustyCms.config.site_settings.each do |site_setting|
        %p.ruled
          = show_config site_setting, :class => (site_setting =~ /host$/ ? 'uri' : nil)

    - config.defaults do
      %h4 Defaults
      - TrustyCms.config.default_settings.each do |default_setting|
        %p.ruled
          = show_config default_setting

    - config.users do
      %h4 Passwords
      - TrustyCms.config.user_settings.each do |user_setting|
        %p.ruled
          = show_config user_setting

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
trusty-cms-3.8.0 app/views/admin/configuration/show.html.haml
trusty-cms-3.7.1 app/views/admin/configuration/show.html.haml
trusty-cms-3.7.0 app/views/admin/configuration/show.html.haml
trusty-cms-3.6.2 app/views/admin/configuration/show.html.haml
trusty-cms-3.6.1 app/views/admin/configuration/show.html.haml
trusty-cms-3.6.0 app/views/admin/configuration/show.html.haml
trusty-cms-3.5.5 app/views/admin/configuration/show.html.haml
trusty-cms-3.5.4 app/views/admin/configuration/show.html.haml
trusty-cms-3.5.3 app/views/admin/configuration/show.html.haml
trusty-cms-3.5.2 app/views/admin/configuration/show.html.haml
trusty-cms-3.5.1 app/views/admin/configuration/show.html.haml
trusty-cms-3.5.0 app/views/admin/configuration/show.html.haml
trusty-cms-3.4.0 app/views/admin/configuration/show.html.haml
trusty-cms-3.3.7 app/views/admin/configuration/show.html.haml
trusty-cms-3.3.6 app/views/admin/configuration/show.html.haml
trusty-cms-3.3.5 app/views/admin/configuration/show.html.haml
trusty-cms-3.3.3 app/views/admin/configuration/show.html.haml
trusty-cms-3.3.2 app/views/admin/configuration/show.html.haml
trusty-cms-3.3.1 app/views/admin/configuration/show.html.haml
trusty-cms-3.2.1 app/views/admin/configuration/show.html.haml