<commit_before><ul>
<% if can? :edit, "Providers" %>
<li><%= link_to "Providers", providers_path %></li>
<% end %>

<li><%= link_to "Customers", customers_path %></li>
<% if show_scheduling? %><li><%= link_to "Trips", trips_path %></li><% end %>
<% if show_scheduling? %><li><%= link_to "Runs", runs_path %></li><% end %>
<li><%= link_to "Repeating trips", repeating_trips_path %></li>
<% if show_scheduling? %><li><%= link_to "Reports", reports_path %></li><% end %>
<li><%= link_to "Vehicles, drivers and users", provider_path(current_user.current_provider) %></li>
<% if can? :edit, FundingSource %>
<li><%= link_to "Funding sources", funding_sources_path %></li>
<% end %>
</ul><commit_msg>Display the right links on home page based on whether the provider has dispatch or scheduling turned on.<commit_after><ul>
<% if can? :edit, "Providers" %>
<li><%= link_to "Providers", providers_path %></li>
<% end %>

<% if show_scheduling? %><li><%= link_to "Customers", customers_path %></li><% end %>
<% if show_scheduling? %><li><%= link_to "Trips", trips_path %></li><% end %>
<% if show_scheduling? %><li><%= link_to "Runs", runs_path %></li><% end %>
<% if show_scheduling? %><li><%= link_to "Repeating trips", repeating_trips_path %></li><% end %>
<% if show_scheduling? %><li><%= link_to "Reports", reports_path %></li><% end %>
<% if show_scheduling? %><li><%= link_to "Vehicles, drivers and users", provider_path(current_user.current_provider) %></li><% end %>
<% if show_dispatch? %><li><%= link_to "Dispatch", dispatch_path %></li><% end %>
</ul>
{'fraction_non_alphanumeric': 0.23166023166023167, 'fraction_numerical': 0.0, 'mean_word_length': 6.440191387559809, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '1182231', 'n_tokens_mistral': 611, 'n_tokens_neox': 547, 'n_words': 154}