etabliocms_pages 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@ module EtabliocmsPages
|
|
40
40
|
def other_pages_for_select
|
41
41
|
pages = EtabliocmsPages::Page.order("lft ASC")
|
42
42
|
pages = pages.where("id != ?", id) unless new_record?
|
43
|
-
pages.map { |d| [d.titles, d.id] }
|
43
|
+
pages.map { |d| ["#{' '*2*d.level}#{d.titles}".html_safe, d.id] }
|
44
44
|
end
|
45
45
|
|
46
46
|
def build_contents_for_available_locales
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: etabliocms_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|