qbrick 2.7 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/qbrick/cms/application.js.coffee.erb +1 -1
- data/app/assets/stylesheets/qbrick/cms/application.css.sass +4 -0
- data/app/views/qbrick/cms/backend/_brick_clone_menu.html.haml +2 -2
- data/app/views/qbrick/cms/backend/_brick_type_dropdown.html.haml +1 -1
- data/app/views/qbrick/cms/bricks/_brick_header.html.haml +1 -1
- data/app/views/qbrick/cms/bricks/_new.html.haml +1 -1
- data/app/views/qbrick/cms/bricks/new.js.erb +1 -1
- data/app/views/qbrick/cms/pages/_form.html.haml +2 -1
- data/lib/qbrick/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ff94148913e1a3d0cfaa209493dcf3c4a26c3c4
|
4
|
+
data.tar.gz: 74137918ad7323852ba59b71c27e2214e35238ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 327284ab3b61598d278ba4f93e897a6b462fa9fe2b47f89e4c5c74f1d0a19d8c8ad8fee8a51ec420f172f45412fdeb804b0827085537c8dd5f5e80751a587d9c
|
7
|
+
data.tar.gz: 6d8f7a358810eb39c0fda434f90c84f9c4767c1827f9de4ac62f863cf948fa087b0f3fc4c5ec32d21189a5c92510de3d06f475c25e6f6855e9aaed02e1bb5c0f
|
@@ -126,7 +126,7 @@ $(document).ready ->
|
|
126
126
|
checkPageType()
|
127
127
|
sortableBrick()
|
128
128
|
initSubmitLinks()
|
129
|
-
stopPropagationOfDisplayStyles($('
|
129
|
+
stopPropagationOfDisplayStyles($('.js-stop-propagation ul'))
|
130
130
|
|
131
131
|
$('#page_page_type').change ->
|
132
132
|
checkPageType()
|
@@ -9,8 +9,8 @@
|
|
9
9
|
- I18n.available_locales.each do |locale|
|
10
10
|
- unless I18n.locale == locale
|
11
11
|
- if @page.translated_to?(locale)
|
12
|
-
%li= link_to t('.to_locale', :
|
12
|
+
%li= link_to t('.to_locale', locale_name: locale.upcase), cms_page_mirror_path(@page, target_locale: locale, rutheless: false), remote: true
|
13
13
|
|
14
14
|
- else
|
15
15
|
%li.disabled{ 'data-toggle' => 'tooltip', 'title' => t('.not_translated') }
|
16
|
-
= link_to t('.to_locale', :
|
16
|
+
= link_to t('.to_locale', locale_name: locale.upcase), '#'
|
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
- # possible styles
|
30
30
|
- unless brick.available_display_styles.empty?
|
31
|
-
|
31
|
+
.dropdown--display-styles.js-stop-propagation.btn-group
|
32
32
|
%a.btn.btn-small.dropdown-toggle{ 'data-toggle' => 'dropdown', 'href' => '#' }
|
33
33
|
%i.icon-tint
|
34
34
|
%span.caret
|
@@ -13,7 +13,7 @@
|
|
13
13
|
- brick_content = render(@brick.to_edit_partial_path, :brick => @brick, :form => form)
|
14
14
|
|
15
15
|
- unless @brick.available_display_styles.empty?
|
16
|
-
|
16
|
+
.dropdown--display-styles.js-stop-propagation.btn-group.pull-right
|
17
17
|
%a.btn.btn-small.dropdown-toggle{ 'data-toggle' => 'dropdown', 'href' => '#' }
|
18
18
|
%i.icon-tint
|
19
19
|
%span.caret
|
@@ -11,4 +11,4 @@ $("#brick-form").find('textarea.ckeditor').each(function (index, elem) { initCKE
|
|
11
11
|
$("#brick-form").modal('show');
|
12
12
|
|
13
13
|
// Stop propagation of display styles dropdown
|
14
|
-
stopPropagationOfDisplayStyles($('
|
14
|
+
stopPropagationOfDisplayStyles($('.js-stop-propagation ul'));
|
@@ -46,7 +46,8 @@
|
|
46
46
|
%i.icon-resize-small
|
47
47
|
= t('.collapse_all')
|
48
48
|
|
49
|
-
|
49
|
+
- if I18n.available_locales.many?
|
50
|
+
= render 'brick_clone_menu'
|
50
51
|
= render 'brick_type_dropdown', brick_list: @page
|
51
52
|
|
52
53
|
= render 'qbrick/cms/bricks/brick_list', brick_list: @page
|
data/lib/qbrick/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qbrick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Immanuel Häussermann
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-
|
15
|
+
date: 2015-11-11 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rspec-rails
|