<commit_before><% title "Staffing at #{@location.name} from #{@view_days.first.strftime("%b %e, %Y ")} to #{@view_days.last.strftime("%b %e, %Y ")}" %>
<% preprocess_loc_group(@location.loc_group) %>

<div id="left_stuff">
	<fieldset class="index">
		<legend>On Duty Now</legend>
		<% @current_shifts.each do |shift| %>
			<%= render :partial => "shift_user", :locals => { :shift => shift } %>
		<% end %>
	</fieldset>
</div>	

<div id="right_stuff">	
	<fieldset class="index" >
		<legend>Upcoming Shifts</legend>
			<table class="tablesorter">
			<% @upcoming_shifts.each do |shift| %>
				<tr>
					<td width="50%"><%= shift.user.name %></td>
					<td width="50%">From <%= shift.start.strftime(time_format) %> to <%= shift.end.strftime(time_format) %></td>
				</tr>
			<% end %>
			</table>
	</fieldset>
</div>

<%= render :partial => "location", :locals => {:location => @location} %>
Dark regions indicate staffing<commit_msg>Adding a message if no upcoming shifts for public view<commit_after><% title "Staffing at #{@location.name} from #{@view_days.first.strftime("%b %e, %Y ")} to #{@view_days.last.strftime("%b %e, %Y ")}" %>
<% preprocess_loc_group(@location.loc_group) %>

<div id="left_stuff">
	<fieldset class="index">
		<legend>On Duty Now</legend>
		<% @current_shifts.each do |shift| %>
			<%= render :partial => "shift_user", :locals => { :shift => shift } %>
		<% end %>
	</fieldset>
</div>	

<div id="right_stuff">	
	<fieldset class="index" >
		<legend>Upcoming Shifts</legend>
		 <% if @upcoming_shifts.empty? %>
			There are no upcoming shifts in this location for today. 
			<% else %>
			<table class="tablesorter">
			<% @upcoming_shifts.each do |shift| %>
				<tr>
					<td width="50%"><%= shift.user.name %></td>
					<td width="50%">From <%= shift.start.strftime(time_format) %> to <%= shift.end.strftime(time_format) %></td>
				</tr>
			<% end %>
			</table>
		 <% end %>
	</fieldset>
</div>

<%= render :partial => "location", :locals => {:location => @location} %>
Dark regions indicate staffing
{'fraction_non_alphanumeric': 0.2160828811050814, 'fraction_numerical': 0.003946719289590528, 'mean_word_length': 4.213367609254499, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 80, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2755582', 'n_tokens_mistral': 865, 'n_tokens_neox': 718, 'n_words': 162}