<commit_before><% model = params[:controller].split('dashboard/')[1] %>

<ul class="nav nav-tabs" role="tablist">
	<li class="active"><%=link_to "Time line", "/dashboard/#{model}" %></li>
	<li><%=link_to "By hours", "/dashboard/#{model}/by-hours" %></li>
	<li><%=link_to "By week days", "/dashboard/#{model}/by-week-days" %></li>
</ul><commit_msg>fixed nav_bar for sales<commit_after><% model = params[:controller].split('dashboard/')[1] %>
<% action = params[:action] %>
<ul class="nav nav-tabs" role="tablist">
	<li class= <%= "active" if action == 'index' %> > <%=link_to "Time line", "/dashboard/#{model}" %> </li>
	<li class= <%= "active" if action == "by_hours" %> > <%=link_to "By hours", "/dashboard/#{model}/by-hours" %> </li>
	<li class= <%= "active" if action == "by_week_days" %> > <%=link_to "By week days", "/dashboard/#{model}/by-week-days" %> </li>
</ul>
{'fraction_non_alphanumeric': 0.2747126436781609, 'fraction_numerical': 0.0022988505747126436, 'mean_word_length': 5.404411764705882, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '1364348', 'n_tokens_mistral': 337, 'n_tokens_neox': 318, 'n_words': 71}