sibu 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/sibu/pages_helper.rb +1 -1
- data/app/views/layouts/sibu/edit_content.html.erb +4 -1
- data/lib/sibu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96611f8f7b23adda4d4502b1eef05f34d0a4dea2
|
4
|
+
data.tar.gz: 27fe50a309c23dfe80bce28c687d6fc05d96452d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3022613a600e634834e57373d4fefae4e760eda752e7966c5da5f403e7464d9279a0c1dd5277bdd97f9cbac101df450290a0762ea6a58183079362fd87d003c5
|
7
|
+
data.tar.gz: 530731b14939afd5615a25df8c1d0834f541c41343484ddfb256b0b1f98b53981fa513ee4b584c1ac6b6067b8d4d20ea0450aa2466955daaf18844509f84ebeb
|
@@ -258,7 +258,7 @@ module Sibu
|
|
258
258
|
content["href"] = @links.keys.include?(val.to_s) ? (action_name == 'show' ? link_path(val) : site_page_edit_content_path(@site.id, val)) : '#'
|
259
259
|
end
|
260
260
|
if block_given?
|
261
|
-
html_output = content_tag(:a, capture(link_elt,
|
261
|
+
html_output = content_tag(:a, capture(link_elt, nested_elements(elt), &block), content.merge(html_opts).except("elements"))
|
262
262
|
else
|
263
263
|
html_output = content_tag(:a, raw(text), content.merge(html_opts).except("elements"))
|
264
264
|
end
|
@@ -4,11 +4,14 @@
|
|
4
4
|
<title><%= conf[:title] %></title>
|
5
5
|
<%= stylesheet_link_tag 'sibu/sibu', media: 'all' %>
|
6
6
|
<%= stylesheet_link_tag "#{conf[:stylesheet]}-edit", media: 'all' %>
|
7
|
-
<%= javascript_include_tag "#{conf[:javascript]}-edit" %>
|
8
7
|
<% if @site %>
|
9
8
|
<%= stylesheet_link_tag (conf[:custom_styles] ? @site.style_url : @site.site_template.path), media: "all" %>
|
9
|
+
<% end %>
|
10
|
+
|
11
|
+
<% if @site %>
|
10
12
|
<%= javascript_include_tag @site.site_template.path %>
|
11
13
|
<% end %>
|
14
|
+
<%= javascript_include_tag "#{conf[:javascript]}-edit" %>
|
12
15
|
<%= csrf_meta_tags %>
|
13
16
|
<%= yield :styles %>
|
14
17
|
</head>
|
data/lib/sibu/version.rb
CHANGED