<commit_before>{{#modal-dialog action="close" opening='opening' closing='closing'}}
  <div class="modal-header">
    <button type="button" class="close" {{action 'close'}}>&times;</button>
    <h3>
      {{#if goal.id}}
        {{t "Edit Goal" key='edit_goal'}}
      {{else}}
        {{t "Set a New Goal" key='set_a_new_goal'}}
      {{/if}}
    </h3>
  </div>
  <div class="modal-body">
    {{#if selected_goal}}
      <form class="form-horizontal">
        {{#if selected_goal.sequence}}
          <div class="form-group">
            <label for="sequence_summary" class="col-sm-2 control-label">{{t "Sequence" key='sequence'}}</label>
            <div class="col-sm-10">
              <p class='form-control-static'>
                <strong>{{selected_goal.sequence_summary}}</strong><br/>
                {{t "sequence of" key='sequence_of'}}
                {{t "goal" key='n_goals' count=selected_goal.template_stats.goals}}{{#if selected_goal.template_stats.total_duration}}{{t " over " key='over'}}
                  {{seconds_ago selected_goal.template_stats.total_duration 'long'}}
                {{/if}}
                {{#if selected_goal.template_stats.loop}}{{t "(repeating sequence)" key='repeating_sequence'}}{{/if}}
              </p>
            </div>
            <div class="col-sm-10 col-sm-offset-2">
              <div class='form-control-static safe_html'>{{safe selected_goal.sequence_description}}</div>
            </div>
          </div>
          <div class="form-group">
            {{#if selected_goal.date_based}}
              <label class="col-sm-12"><h4>{{t "Current Goal in the Sequence" key='current_goal_details'}}</h4></label>
            {{else}}
              <label class="col-sm-12"><h4>{{t "First Goal in the Sequence" key='first_goal_details'}}</h4></label>
            {{/if}}
          </div>
        {{/if}}
        <div class="form-group">
          <div class='col-sm-10 col-sm-offset-2'>
            {{#if goal.badge_image_url}}
              <img src={{goal.badge_image_url}} style='widht: 50px; max-height: 50px; opacity: 0.8;' />
            {{else}}
              <span class='glyphicon glyphicon-flag' style='margin-top: 10px; font-size: 50px; '></span>
            {{/if}}
          </div>
        </div>
        <div class="form-group">
          <label for="new_goal_summary" class="col-sm-2 control-label">{{t "Summary" key='summary'}}</label>
          <div class="col-sm-10">
            <p class='form-control-static'>{{selected_goal.current_template.summary}}</p>
          </div>
        </div>

        <div class="form-group">
          <label for="new_goal_description" class="col-sm-2 control-label">{{t "Description" key='description'}}</label>
          <div class="col-sm-10">
            <div class='form-control-static safe_html'>{{safe selected_goal.current_template.description}}</div>
          </div>
        </div>
        {{#if selected_goal.current_template.duration}}
          <div class="form-group">
            <label for="new_goal_duration" class="col-sm-2 control-label">{{t "Duration" key='duration'}}</label>
            <div class="col-sm-10">
              <p class='form-control-static'>{{seconds_ago selected_goal.current_template.duration 'long'}}</p>
            </div>
          </div><commit_msg>missing badge images in listing<commit_after>{{#modal-dialog action="close" opening='opening' closing='closing'}}
  <div class="modal-header">
    <button type="button" class="close" {{action 'close'}}>&times;</button>
    <h3>
      {{#if goal.id}}
        {{t "Edit Goal" key='edit_goal'}}
      {{else}}
        {{t "Set a New Goal" key='set_a_new_goal'}}
      {{/if}}
    </h3>
  </div>
  <div class="modal-body">
    {{#if selected_goal}}
      <form class="form-horizontal">
        {{#if selected_goal.sequence}}
          <div class="form-group">
            <label for="sequence_summary" class="col-sm-2 control-label">{{t "Sequence" key='sequence'}}</label>
            <div class="col-sm-10">
              <p class='form-control-static'>
                <strong>{{selected_goal.sequence_summary}}</strong><br/>
                {{t "sequence of" key='sequence_of'}}
                {{t "goal" key='n_goals' count=selected_goal.template_stats.goals}}{{#if selected_goal.template_stats.total_duration}}{{t " over " key='over'}}
                  {{seconds_ago selected_goal.template_stats.total_duration 'long'}}
                {{/if}}
                {{#if selected_goal.template_stats.loop}}{{t "(repeating sequence)" key='repeating_sequence'}}{{/if}}
              </p>
            </div>
            <div class="col-sm-10 col-sm-offset-2">
              <div class='form-control-static safe_html'>{{safe selected_goal.sequence_description}}</div>
            </div>
          </div>
          <div class="form-group">
            {{#if selected_goal.date_based}}
              <label class="col-sm-12"><h4>{{t "Current Goal in the Sequence" key='current_goal_details'}}</h4></label>
            {{else}}
              <label class="col-sm-12"><h4>{{t "First Goal in the Sequence" key='first_goal_details'}}</h4></label>
            {{/if}}
          </div>
        {{/if}}
        <div class="form-group">
          <div class='col-sm-10 col-sm-offset-2'>
            {{#if selected_goal.badge_image_url}}
              <img src={{selected_goal.badge_image_url}} style='width: 50px; max-height: 50px; opacity: 0.8;' />
            {{else}}
              <span class='glyphicon glyphicon-flag' style='margin-top: 10px; font-size: 50px; '></span>
            {{/if}}
          </div>
        </div>
        <div class="form-group">
          <label for="new_goal_summary" class="col-sm-2 control-label">{{t "Summary" key='summary'}}</label>
          <div class="col-sm-10">
            <p class='form-control-static'>{{selected_goal.current_template.summary}}</p>
          </div>
        </div>

        <div class="form-group">
          <label for="new_goal_description" class="col-sm-2 control-label">{{t "Description" key='description'}}</label>
          <div class="col-sm-10">
            <div class='form-control-static safe_html'>{{safe selected_goal.current_template.description}}</div>
          </div>
        </div>
        {{#if selected_goal.current_template.duration}}
          <div class="form-group">
            <label for="new_goal_duration" class="col-sm-2 control-label">{{t "Duration" key='duration'}}</label>
            <div class="col-sm-10">
              <p class='form-control-static'>{{seconds_ago selected_goal.current_template.duration 'long'}}</p>
            </div>
          </div>
{'fraction_non_alphanumeric': 0.18346409173204586, 'fraction_numerical': 0.011466505733252867, 'mean_word_length': 2.38041815400306, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '6330704', 'n_tokens_mistral': 2163, 'n_tokens_neox': 2028, 'n_words': 361}