Skip to content

Commit

Permalink
Add event ID column
Browse files Browse the repository at this point in the history
  • Loading branch information
ishasinha1 committed Oct 27, 2023
1 parent 2647aac commit 098214c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/events/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<table class="table table-condensed">
<thead>
<tr>
<th>Event ID</th>
<th>Start</th>
<th>Finish</th>
<th>Success</th>
Expand All @@ -21,6 +22,7 @@
<tbody>
<% @events.each do |event| %>
<tr class="table-striped<%= event.success ? '' : ' warning'%>">
<td><%=event.id%></td>
<td class="nowrap"><%= event.start.localtime.to_s(:db_twelve_hour) %></td>
<td class="nowrap "><%= event.finish.localtime.to_s(:db_twelve_hour) if event.finish %></td>
<td><%= event.success %></td>
Expand Down

0 comments on commit 098214c

Please sign in to comment.