Skip to content
This repository has been archived by the owner on Apr 14, 2018. It is now read-only.

Commit

Permalink
Some changes to the event#show's information output.
Browse files Browse the repository at this point in the history
  • Loading branch information
rye committed Jan 21, 2014
1 parent 1ef0c10 commit bb69d35
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions app/views/events/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,22 @@
</div>

<p>
<%= @event.date %>
<%= @event.date %>
</p>

<p>
<%= @event.description %>
<%= @event.description %>
</p>

<p>
<% if @event.global? %>
This event is global (and can therefore not be joined or left).
<% else %>
This event is not global.
<% end %>
</p>


<div class="btn-group">
<% if !@event.global? %>
<% if @event.users.include? current_user %>
Expand Down

0 comments on commit bb69d35

Please sign in to comment.