paul_revere 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -25,7 +25,7 @@ end
|
|
25
25
|
|
26
26
|
spec = Gem::Specification.new do |s|
|
27
27
|
s.name = "paul_revere"
|
28
|
-
s.version = "0.1.
|
28
|
+
s.version = "0.1.5"
|
29
29
|
s.summary = "Simple announcement plugin to include 'one off' style announcements in Rails web apps."
|
30
30
|
s.author = "Thoughtbot"
|
31
31
|
s.email = "support@thoughtbot.com"
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<% if current_user and current_announcement.exists? and not announcement_hidden?(current_announcement) %>
|
2
|
-
<div id="announcement">
|
3
|
-
|
4
|
-
<
|
2
|
+
<div id="flash-border" class="announcement">
|
3
|
+
<span><%= current_announcement.body.html_safe %></span>
|
4
|
+
<span class="hide">
|
5
5
|
<%= link_to_function "hide", "hideAnnouncement('announcement_#{current_announcement.created_at}');" %>
|
6
|
-
</
|
6
|
+
</span>
|
7
7
|
</div>
|
8
8
|
<% end %>
|
9
9
|
|
@@ -1,8 +1,10 @@
|
|
1
1
|
<% if current_announcement.exists? and not announcement_hidden?(current_announcement) %>
|
2
|
-
<div id="
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
<div id="flash-border">
|
3
|
+
<div id="announcement">
|
4
|
+
<span><%= current_announcement.body.html_safe %></span>
|
5
|
+
<span class="hide">
|
6
|
+
<%= link_to_function "hide", "hideAnnouncement('announcement_#{current_announcement.created_at}');" %>
|
7
|
+
</span>
|
6
8
|
</div>
|
7
9
|
</div>
|
8
10
|
<% end %>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paul_revere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Thoughtbot
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-16 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|