<commit_before><div class="container">
    <div class="vertical-space"></div>

  {{#if model.localUser.isAdmin}}
      <div class="row">
          <div class="col-md-5 col-sm-4">
            {{#link-to 'admin-missions-create' class='btn btn-primary'}}
                <span class="glyphicon glyphicon-plus"></span>
            {{/link-to}}
          </div>
      </div>
      <div class="vertical-space-sm"></div>
  {{/if}}

  <div class="row">
      <div class="col-sm-12">
          <p>
              Missions are displayed only to logged-in users, and only if their team matches the mission team. You may
              also set a mission to have a team of "all", in which case it will appear to all logged in players.
          </p>
      </div>
  </div>

  {{#each model.missions as |mission|}}
      <div class="row well">
          <div class="col-sm-12">
              <div class="row bg-{{mission.team}}">
                  <div class="col-sm-8">
                      <h2>{{mission.title}}</h2>
                      <p>
                        {{format-time mission.postDate
                        hour='numeric' minute='numeric' second='numeric' year='numeric' month='numeric' day='numeric'}}

                          <em>{{format-relative mission.postDate}}</em>
                      </p>
                      <p><strong>Team:</strong> {{mission.team}}</p>
                  </div>
                {{#if model.localUser.isAdmin}}
                    <div class="col-sm-4">
                        <ul class="nav nav-stacked nav-pills">
                            <li>{{#link-to 'admin-missions-edit' mission.id}}Edit{{/link-to}}</li>
                            <li>{{#link-to 'admin-missions-delete' mission.id}}Delete{{/link-to}}</li>
                        </ul>
                    </div>
                {{/if}}
              </div>
              <div class="row">
                  <div class="col-sm-12">
                    {{{mission.body}}}
                  </div>
              </div>
          </div>
      </div>
  {{else}}
      <div class="row">
          <div class="col-md-12 text-center">
              <h1>There were no missions found.</h1>
          </div>
      </div>
  {{/each}}
</div><commit_msg>Updated the admin/mission route to show mission end dates<commit_after><div class="container">
    <div class="vertical-space"></div>

  {{#if model.localUser.isAdmin}}
      <div class="row">
          <div class="col-md-5 col-sm-4">
            {{#link-to 'admin-missions-create' class='btn btn-primary'}}
                <span class="glyphicon glyphicon-plus"></span>
            {{/link-to}}
          </div>
      </div>
      <div class="vertical-space-sm"></div>
  {{/if}}

  <div class="row">
      <div class="col-sm-12">
          <p>
              Missions are displayed only to logged-in users, and only if their team matches the mission team. You may
              also set a mission to have a team of "all", in which case it will appear to all logged in players.
          </p>
      </div>
  </div>

  {{#each model.missions as |mission|}}
      <div class="row well">
          <div class="col-sm-12">
              <div class="row bg-{{mission.team}}">
                  <div class="col-sm-8">
                      <h2>{{mission.title}}</h2>
                      <p>
                        Post Date: {{format-time mission.postDate
                        hour='numeric' minute='numeric' second='numeric' year='numeric' month='numeric' day='numeric'}}

                          <em>{{format-relative mission.postDate}}</em>
                      </p>
                      <p>
                      End Date: {{format-time mission.endDate
                        hour='numeric' minute='numeric' second='numeric' year='numeric' month='numeric' day='numeric'}}

                          <em>{{format-relative mission.endDate}}</em>
                      </p>
                      <p><strong>Team:</strong> {{mission.team}}</p>
                  </div>
                {{#if model.localUser.isAdmin}}
                    <div class="col-sm-4">
                        <ul class="nav nav-stacked nav-pills">
                            <li>{{#link-to 'admin-missions-edit' mission.id}}Edit{{/link-to}}</li>
                            <li>{{#link-to 'admin-missions-delete' mission.id}}Delete{{/link-to}}</li>
                        </ul>
                    </div>
                {{/if}}
              </div>
              <div class="row">
                  <div class="col-sm-12">
                    {{{mission.body}}}
                  </div>
              </div>
          </div>
      </div>
  {{else}}
      <div class="row">
          <div class="col-md-12 text-center">
              <h1>There were no missions found.</h1>
          </div>
      </div>
  {{/each}}
</div>
{'fraction_non_alphanumeric': 0.16253614209004544, 'fraction_numerical': 0.00660883932259397, 'mean_word_length': 1.352112676056338, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, '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': '5511817', 'n_tokens_mistral': 1412, 'n_tokens_neox': 1322, 'n_words': 309}