event_calendar_engine 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -1,7 +1,11 @@
1
- <% if @event_revision.revisable_is_current %>
1
+
2
2
  <p>
3
+ <% if Event.where(:id => @event_revision.current_revision).count > 0 %>
3
4
  <%= link_to "< Current Version", event_path(@event_revision.current_revision), :class => 'fake_button' %>
5
+ <% else %>
6
+ <%= link_to "< Browse Revisions", event_revisions_path, :class => 'fake_button' %>
7
+ <% end %>
4
8
  </p>
5
- <% end %>
9
+
6
10
  <h1>Event - Version: <%= @event_revision.revision_number %><hr /></h1>
7
11
  <%= render :partial => 'events/event_details', :object => @event_revision %>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_calendar_engine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason LaPier