<commit_before>.row.active_table_row{"ng-click" => "toggle()", "ng-class" => "{'closed' : !open()}", bindonce: true}
  .columns.small-12.medium-6.large-5.skinny-head
    %a.hub{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
      %i{ ng: { class: "{ 'ofn-i_063-hub': hub.can_aggregate && hub.has_shopfront,
        'ofn-i_059-producer': !hub.can_aggregate && hub.has_shopfront,
        'ofn-i_060-producer-reversed': !hub.can_aggregate && !hub.has_shopfront,
        'ofn-i_064-hub-reversed': hub.can_aggregate && !hub.has_shopfront }" } }
      / %i.ofn-i_063-hub
      %span.margin-top.hub-name-listing {{ hub.name | truncate:40}}
  .columns.small-4.medium-2.large-2
    %span.margin-top {{ hub.address.city }}
  .columns.small-2.medium-1.large-1
    %span.margin-top {{ hub.address.state_name | uppercase }}

  .columns.small-6.medium-3.large-4.text-right{"bo-if" => "hub.active"}
    %a.hub.open_closed{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
      %i.ofn-i_033-open-sign
      %span.margin-top {{ hub.orders_close_at | sensible_timeframe }}

  .columns.small-6.medium-3.large-4.text-right{"bo-if" => "!hub.active"}
    %a.hub.open_closed{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
      %i.ofn-i_032-closed-sign
      %span.margin-top Orders closed

<commit_msg>Add in logic to change right hand label if this is the current hub<commit_after>.row.active_table_row{"ng-click" => "toggle()", "ng-class" => "{'closed' : !open()}", bindonce: true}
  .columns.small-12.medium-6.large-5.skinny-head
    %a.hub{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
      %i{ ng: { class: "{ 'ofn-i_063-hub': hub.can_aggregate && hub.has_shopfront,
        'ofn-i_059-producer': !hub.can_aggregate && hub.has_shopfront,
        'ofn-i_060-producer-reversed': !hub.can_aggregate && !hub.has_shopfront,
        'ofn-i_064-hub-reversed': hub.can_aggregate && !hub.has_shopfront }" } }
      / %i.ofn-i_063-hub
      %span.margin-top.hub-name-listing {{ hub.name | truncate:40}}
  .columns.small-4.medium-2.large-2
    %span.margin-top {{ hub.address.city }}
  .columns.small-2.medium-1.large-1
    %span.margin-top {{ hub.address.state_name | uppercase }}

  .columns.small-6.medium-3.large-4.text-right{"bo-if" => "hub.active"}
    %a.hub.open_closed{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
      %i.ofn-i_033-open-sign
      %span.margin-top{ bo: { if: "current()" } } 
        %em Shopping here
      %span.margin-top{ bo: { if: "!current()" } } {{ hub.orders_close_at | sensible_timeframe }}

  .columns.small-6.medium-3.large-4.text-right{"bo-if" => "!hub.active"}
    %a.hub.open_closed{"bo-href" => "hub.path", "ng-class" => "{primary: hub.active, secondary: !hub.active}", "ofn-empties-cart" => "hub"}
      %i.ofn-i_032-closed-sign
      %span.margin-top{ bo: { if: "current()" } } 
        %em Shopping here
      %span.margin-top{ bo: { if: "!current()" } } Orders closed


{'fraction_non_alphanumeric': 0.21549861068230936, 'fraction_numerical': 0.024081506637851188, 'mean_word_length': 3.3783783783783785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, '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': '7464435', 'n_tokens_mistral': 1316, 'n_tokens_neox': 1256, 'n_words': 179}