Sha256: 10f0f3621c231a24669698487f16c42e82b8a7940285c4010e50601d1f32ca8c

Contents?: true

Size: 1.58 KB

Versions: 47

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_url, :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

47 entries across 47 versions & 1 rubygems

Version Path
trusty-cms-2.0.14 app/views/admin/configuration/show.html.haml
trusty-cms-2.0.13 app/views/admin/configuration/show.html.haml
trusty-cms-2.0.12 app/views/admin/configuration/show.html.haml
trusty-cms-2.0.11 app/views/admin/configuration/show.html.haml
trusty-cms-2.0.10.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.9.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.8.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.7.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.5.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.4.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.3.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.2.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.1.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-2.0.0.pre.beta app/views/admin/configuration/show.html.haml
trusty-cms-1.2.29 app/views/admin/configuration/show.html.haml
trusty-cms-1.2.28 app/views/admin/configuration/show.html.haml
trusty-cms-1.1.28 app/views/admin/configuration/show.html.haml
trusty-cms-1.1.27 app/views/admin/configuration/show.html.haml
trusty-cms-1.1.26 app/views/admin/configuration/show.html.haml
trusty-cms-1.1.25 app/views/admin/configuration/show.html.haml