Sha256: a2c3556e3dca47d62db6aa81032793fe72ee56139921d918fbb4a0e8da744319

Contents?: true

Size: 850 Bytes

Versions: 19

Compression:

Stored size: 850 Bytes

Contents

- unless @page.bricks.empty?
  .btn-group
    .btn.btn-small{ 'data-toggle' => 'popover', 'data-content' => t('.brick_clone_info'), 'data-original-title' => t('.brick_clone_info_title')}
      %i.icon-info-sign
    %a.btn.btn-small.dropdown-toggle{ 'data-toggle' => 'dropdown', 'href' => '#' }
      = t('.clone_bricks')
      %span.caret
    %ul.dropdown-menu.pull-right
      - I18n.available_locales.each do |locale|
        - unless I18n.locale == locale
          - if @page.translated_to?(locale)
            %li= link_to t('.to_locale', :locale_name => locale.upcase), cms_page_mirror_path(@page, :target_locale => locale, :rutheless => false), :remote => true

          - else
            %li.disabled{ 'data-toggle' => 'tooltip', 'title' => t('.not_translated') }
              = link_to t('.to_locale', :locale_name => locale.upcase), '#'

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
qbrick-2.7 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.10 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.9 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.8 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.7 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.6 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.5 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.4 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.3 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.2 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.6.1 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
kuhsaft-2.6.3 app/views/kuhsaft/cms/admin/_brick_clone_menu.html.haml
qbrick-2.6.0 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.5.2 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.5.1 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
qbrick-2.5.0 app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
kuhsaft-2.6.2 app/views/kuhsaft/cms/admin/_brick_clone_menu.html.haml
kuhsaft-2.6.1 app/views/kuhsaft/cms/admin/_brick_clone_menu.html.haml
kuhsaft-2.6.0 app/views/kuhsaft/cms/admin/_brick_clone_menu.html.haml