caboose-cms 0.4.16 → 0.4.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/views/caboose/blocks/_file.html.erb +3 -4
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OWUxNzk3MmI4MzE5ZWUxNTZiM2ZmMDMzYzViNjAzNWU5NDk0YmU0Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTA2NDcwOWQ2Njc0NzM5Mzg2NjNjZjdjN2ZlMTY0NmY3MGQyZTIxZg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDgwYTU1N2M1MzE1NGFiZWZmNTMxNGY3MzQwODY5MGE0NzI1MzI5ODQwNDc5
|
10
|
+
YjljNzM3Y2JjMTAwMDIwMDBmNTA5ZjA0ZDUzNzdkMzBmNzk4ZWJiYjJjNDRl
|
11
|
+
M2E3NjZlYjA3NWMyZGM0YWM0MWIxM2IxZWU2MDAxNWI3OTMyMWU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTA3NzU5MTdjZTc2ZTNkMTgxZGIxZjg0NjhmOGM4NzhjNjdmNThmOWIxYjMw
|
14
|
+
NzE0ZjRmYmIwZDhhZWI5ZTM2YmFmYjZhOWU4YTgwZDNmYjc4NzNjMjJjZmM4
|
15
|
+
ZGRhZGQxMWJjN2VmNzFmMGM5MGEzNDViNjkyMWRhZWUwMGNjMjE=
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<% elsif editing
|
4
|
-
<div id='block_<%= block.id %>'><p>Upload a file.</p></div>
|
1
|
+
<div id='block_<%= block.id %>'>
|
2
|
+
<% if block.file %><a href="<%= block.file.url %>">Download</a>
|
3
|
+
<% elsif editing %><p>Upload a file.</p>
|
5
4
|
<% end %>
|
data/lib/caboose/version.rb
CHANGED