<commit_before><script type="text/javascript">
  window.restData = {
  <% @rests.each_index do |ind|
     rest = @rests[ind]
     last = ind + 1 == @rests.length
     %>
  <%=rest.id %> : {
  name: "<%=rest.hebrew_name.html_safe%>",
  imgSrc: "<%=rest.logo %>",

  announced_recently: <%= rest.is_recent %>
                          }
                          <%= last ? "" : ","%>
                          <% end %>
                          }

</script>

<div id=top-bar>
  <div id=top-bar-row>
    <div id="user-div">
      <span> <%= @user.first_name %> </span> |
      <span> <%= link_to "Logout", session_path, :action => 'destroy', :method => 'delete' %> </span>
    </div>
    <div id="company-logo">
      <img src="<%= ENV["COMPANY_LOGO"] %>" />
    </div>
  </div>
</div>
  <h1>
    האוכל הגיע
  </h1>
<div id="tableContainer">
  <!-- <label for="filter"> סינון:</label> <input type="text" id="filter" /> -->
  <div id="restsTable">
    <% @rests.each do |rest| %>
    <div class="restRow" id="rest_<%=rest.id%>">
      <div class="restCheck">
        <% if rest.timediff[:hour] < 3 %>
           <img src="check.png" title="הוזמן לפני זמן קצר"/>
           <% end  %>
      </div>
      <div class="restName"><commit_msg>deleted  timediff  from index.html<commit_after><script type="text/javascript">
  window.restData = {
  <% @rests.each_index do |ind|
     rest = @rests[ind]
     last = ind + 1 == @rests.length
     %>
  <%=rest.id %> : {
  name: "<%=rest.hebrew_name.html_safe%>",
  imgSrc: "<%=rest.logo %>",

  announced_recently: <%= rest.is_recent %>
                          }
                          <%= last ? "" : ","%>
                          <% end %>
                          }

</script>

<div id=top-bar>
  <div id=top-bar-row>
    <div id="user-div">
      <span> <%= @user.first_name %> </span> |
      <span> <%= link_to "Logout", session_path, :action => 'destroy', :method => 'delete' %> </span>
    </div>
    <div id="company-logo">
      <img src="<%= ENV["COMPANY_LOGO"] %>" />
    </div>
  </div>
</div>
  <h1>
    האוכל הגיע
  </h1>
<div id="tableContainer">
  <!-- <label for="filter"> סינון:</label> <input type="text" id="filter" /> -->
  <div id="restsTable">
    <% @rests.each do |rest| %>
    <div class="restRow" id="rest_<%=rest.id%>">
      <div class="restCheck">
        <% if rest.is_recent %>
           <img src="check.png" title="הוזמן לפני זמן קצר"/>
           <% end  %>
      </div>
      <div class="restName">
{'fraction_non_alphanumeric': 0.21725110842402257, 'fraction_numerical': 0.0028214429665457475, 'mean_word_length': 2.0679851668726825, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 91, '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': '7460312', 'n_tokens_mistral': 986, 'n_tokens_neox': 934, 'n_words': 169}