Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Commit 45019ae

Browse files
author
Machiste Quintana
committed
commented out placeholder for calendar view on the reservation show page, until we implement a calendar view #12
1 parent f63c040 commit 45019ae

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

app/views/reservations/show.html.erb

+5-8
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<div class="tabbable">
6565
<ul class="nav nav-tabs">
6666
<li class="active"><a href="#date_range" data-toggle="tab">Date Range</a></li>
67-
<li><a href="#calendar" data-toggle="tab">Calendar</a></li>
67+
<%# <li><a href="#calendar" data-toggle="tab">Calendar</a></li> %>
6868
</ul>
6969

7070
<div class="tab-content">
@@ -89,8 +89,6 @@
8989
</ul>
9090
<% end %>
9191

92-
<%# TODO: dynamically generate bar width, borrow from equipment_model show page %>
93-
9492
<%= content_tag :div, class: 'bar', style: "width: " << bar_progress_res do %>
9593
<%= content_tag :span, reservation_length_in_words, style: bar_span_positioning_fix %>
9694
<% end %>
@@ -109,9 +107,9 @@
109107
</div>
110108

111109
</div>
112-
<div id="calendar" class="tab-pane">
113-
I'M GOING TO BE A CALENDAR !!!!!1111oneone
114-
</div>
110+
<%# <div id="calendar" class="tab-pane"> %>
111+
<%# This will be our calendar view, whenever we add it. See issue #12. %>
112+
<%# </div> %>
115113
</div>
116114
<hr>
117115
</div>
@@ -177,7 +175,6 @@
177175
</div>
178176
</div>
179177

180-
181178
<hr>
182179
<%# NOTES %>
183180
<div class="row">
@@ -205,4 +202,4 @@
205202
class: 'btn btn-danger' %>
206203
<% end %>
207204
</div>
208-
<% end %>
205+
<% end %>

0 commit comments

Comments
 (0)