<commit_before>
<div layout="row">
  <div flex="33" class="events links">

    <input type="text" ng-model="search" placeholder="Search events"></span><span ng-click=createEvent()>

    <div class="link" ng-repeat="link in events | filter:search | orderBy:'created_at'" ng-click="displayEvent(link)">
      <div class="info" >
        <img width="100px" height="100px" src="{{link.image}}" />
        <div id="{{ 'event-' + $index }}" class="info" >
          <span> <strong> {{ link.title }} </strong> </span> <br />
          <span> Expiration: {{ link.expiration |  date : format : timezone}} </span> <br />
          <span> People needed: {{ link.thresholdPeople }} </span>
        </div>
      </div>
      <span> Cost of link: ${{ link.thresholdMoney / link.thresholdPeople | number:2 }} </span> <br />
      <span> Remaining money needed: ${{ link.thresholdMoney - link.committedMoney | number:2}} </span>
    </div>
  </div>

  <div flex="66" class="events">
    <div class="event" ng-model="event" ng-show={{event.display}}>
      <div class="info" >
        <img width="100px" height="100px" src="{{event.image}}" />
        <div id="{{ 'event-' + $index }}" class="info" >
          <span> <strong> {{ event.title }} </strong> </span> <br />
          <span> Expiration: {{ event.expiration |  date : format : timezone}} </span> <br />
          <span> People needed: {{ event.thresholdPeople }} </span>
        </div>
      </div>
      <span> Cost of event: ${{ event.thresholdMoney / event.thresholdPeople | number:2 }} </span> <br />
      <span> Remaining money needed: ${{ event.thresholdMoney - event.committedMoney | number:2}} </span>
    </div>

</div>

<!-- EVENT PAGE --><commit_msg>Add buttons.  Fix ng-show statement<commit_after>
<div layout="row">
  <div flex="33" class="events links">

    <input type="text" ng-model="search" placeholder="Search events"></span><span ng-click=createEvent()>

    <div class="link" ng-repeat="link in events | filter:search | orderBy:'created_at'" ng-click="displayEvent(link)">
      <div class="info" >
        <img width="100px" height="100px" src="{{link.image}}" />
        <div id="{{ 'event-' + $index }}" class="info" >
          <span> <strong> {{ link.title }} </strong> </span> <br />
          <span> Expiration: {{ link.expiration |  date : format : timezone}} </span> <br />
          <span> People needed: {{ link.thresholdPeople }} </span>
        </div>
      </div>
      <span> Cost of link: ${{ link.thresholdMoney / link.thresholdPeople | number:2 }} </span> <br />
      <span> Remaining money needed: ${{ link.thresholdMoney - link.committedMoney | number:2}} </span>
    </div>
  </div>

  <div flex="66" class="events">
    <div class="event" ng-model="event" ng-show="{{event.display}} === true">
      <div class="info" >
        <img width="100px" height="100px" src="{{event.image}}" />
        <div id="{{ 'event-' + $index }}" class="info" >
          <span> <strong> {{ event.title }} </strong> </span> <br />
          <span> Expiration: {{ event.expiration |  date : format : timezone}} </span> <br />
          <span> People needed: {{ event.thresholdPeople }} </span>
        </div>
      </div>
      <span> Cost of event: ${{ event.thresholdMoney / event.thresholdPeople | number:2 }} </span> <br />
      <span> Remaining money needed: ${{ event.thresholdMoney - event.committedMoney | number:2}} </span>
      <button ng-disabled="{{hasNotAuthorizedVenmo}}" ng-click="checkStripe(event); acceptOrDeclineInvite(true)"> JOIN </button>
      <button ng-disabled="{{hasNotAuthorizedVenmo}}" ng-click="acceptOrDeclineInvite(false)"> DECLINE </button>
    </div>

</div>

<!-- EVENT PAGE -->
{'fraction_non_alphanumeric': 0.20450230539734202, 'fraction_numerical': 0.010848928668294006, 'mean_word_length': 3.0841638981173864, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, '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': '7222788', 'n_tokens_mistral': 1197, 'n_tokens_neox': 1140, 'n_words': 280}