<commit_before>{% load filter%}
                      {% if needs %}
                          {% for need in needs %}
                          <div id="divneed{{need.pk}}">
                              <!-- list all needs -->
                              <div class="row">
                                  <div class="col-sm-12">
                              <a class="list-group-item" id="standard-list-group-item-div">
                                  <div class="row">
                                      <div class="col-sm-12" data-toggle="modal" data-target=".{{ need.id }}">
                                          <h4 class="list-group-item-heading">{{ need.headline }}</h4>
                                          <p class="list-group-item-text">{{ need|get_short_text:160 }}</p>
                                      </div>
                                      <div class="col-sm-9" data-toggle="modal" data-target=".{{ need.id }}">
                                          <h6><br>priority: {{ need.priority }} / pk: {{ need.pk }} / from: {{ need.date }} / category: {{ need.categorie.name }}{% if need.group %} / by: <span style="color: #70962c;">{{ need.group.name }}</span>{% endif %}</h6>
                                      </div>
                                  </div>
                              </a>

                              <div class="list-group-footer" style="margin-bottom: 15px;">
                                     {% if not user.userdata in need.reported_by.all %}
                                        <div class="row">
                                            <a class="list-group-footer-button" type="button" href="{% url 'basics:needs_help_group' id=need.id group_id=group.id%}">
                                                <div class="col-sm-6" id="list-group-footer-button-margin">
                                                    <span class="glyphicon glyphicon-comment"></span> Help
                                                </div>
                                            </a>
                                             <a class="list-group-footer-button" type="button" style="cursor:pointer" id="report{{need.pk}}"" onclick="reportNeed({{need.pk}})"">
                                                <div class="col-sm-6">
                                                     <span class="glyphicon glyphicon-ban-circle"></span> Report
                                                </div>
                                            </a>
                                        </div>
                                     {% else %}
                                         <div class="row">
                                             <a class="list-group-footer-button" type="button" href="{% url 'basics:needs_help_group' id=need.id group_id=group.id %}">
                                                 <div class="col-sm-12">
                                                     <span class="glyphicon glyphicon-comment"></span> Help
                                                 </div>
                                             </a>
                                         </div>
                                     {% endif %}
                              </div>

                                  </div>
                              </div>

                              <!-- modal for every need -->
                              <div class="modal {{ need.id }}" role="dialog" aria-labelledby="request" aria-hidden="true">
                                  <div class="modal-dialog modal-lg">
                                      <div class="modal-content">
                                          <div class="modal-header">
                                              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                                  <span aria-hidden="true">&times;</span>
                                              </button>
                                              <h2>{{need.headline}}</h2>
                                              <h6>from: {{ need.date }} / category: {{ need.categorie.name }}{% if need.group %} / by: <a id="green-link" href="{% url 'basics:group_detail_for_user' name=need.group.name %}">{{ need.group.name }}</a>{% endif %}</h6>
                                          </div>
                                          <div class="modal-body">
                                              <p>{{ need.text|linebreaksbr }}</p>
                                          </div>
                                          <div class="modal-footer">
                                              <button type="button" id="standard-grey-button-bold" class="btn btn-default btn-sml standard-grey-button-light " onclick="location.href='{% url 'basics:aboutus' %}';" style="margin-bottom: 10px;"><span class="glyphicon glyphicon-comment"></span> Help</button>
                                              {% if not user.userdata in need.reported_by.all %}
                                                <button  type="button" id="standard-grey-button-bold" data-dismiss="modal" class="btn btn-default btn-sml standard-grey-button-light " onclick="report({{need.pk}})"" style="margin-bottom: 10px;"><span class="glyphicon glyphicon-ban-circle"></span>Report</button>
                                              {% endif %}
                                              <button id="standard-grey-button-bold" type="button" class="btn btn-primary" data-dismiss="modal" style="margin-bottom: 10px;">Close</button>
                                          </div>
                                      </div>
                                  </div>
                              </div>
                              </div>
                          {% empty %}
                              <h4>There are no needs.</h4>
                          {% endfor %}
                      {% endif %}<commit_msg>fixed design buggs in claim needs group<commit_after>{% load filter%}
                      {% if needs %}
                          {% for need in needs %}
                          <div id="divneed{{need.pk}}">
                              <!-- list all needs -->
                              <div class="row">
                                  <div class="col-sm-12">
                              <a class="list-group-item cursor-pointer" id="standard-list-group-item-div">
                                  <div class="row">
                                      <div class="col-sm-12" data-toggle="modal" data-target=".{{ need.id }}">
                                          <h4 class="list-group-item-heading">{{ need.headline }}</h4>
                                          <p class="list-group-item-text">{{ need|get_short_text:160 }}</p>
                                      </div>
                                      <div class="col-sm-9" data-toggle="modal" data-target=".{{ need.id }}">
                                          <h6><br><i>from {{ need.date }} category {{ need.categorie.name }}{% if need.group %} by <span style="color: #70962c;">{{ need.group.name }}</span>{% endif %}</i></h6>
                                      </div>
                                  </div>
                              </a>

                              <div class="list-group-footer" style="margin-bottom: 15px;">
                                     {% if not user.userdata in need.reported_by.all %}
                                        <div class="row">
                                            <a class="list-group-footer-button" type="button" href="{% url 'basics:needs_help_group' id=need.id group_id=group.id%}">
                                                <div class="col-sm-6" id="list-group-footer-button-margin">
                                                    <span class="glyphicon glyphicon-comment"></span> Help
                                                </div>
                                            </a>
                                             <a class="list-group-footer-button" type="button" style="cursor:pointer" id="report{{need.pk}}" onclick="reportNeed({{need.pk}})">
                                                <div class="col-sm-6">
                                                     <span class="glyphicon glyphicon-ban-circle"></span> Report
                                                </div>
                                            </a>
                                        </div>
                                     {% else %}
                                         <div class="row">
                                             <a class="list-group-footer-button" type="button" href="{% url 'basics:needs_help_group' id=need.id group_id=group.id %}">
                                                 <div class="col-sm-12">
                                                     <span class="glyphicon glyphicon-comment"></span> Help
                                                 </div>
                                             </a>
                                         </div>
                                     {% endif %}
                              </div>

                                  </div>
                              </div>

                              <!-- modal for every need -->
                              <div class="modal {{ need.id }}" role="dialog" aria-labelledby="request" aria-hidden="true">
                                  <div class="modal-dialog modal-lg">
                                      <div class="modal-content">
                                          <div class="modal-header">
                                              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                                  <span aria-hidden="true">&times;</span>
                                              </button>
                                              <h2>{{need.headline}}</h2>
                                              <h6><i>from {{ need.date }} category {{ need.categorie.name }}{% if need.group %} by <a id="green-link" href="{% url 'basics:group_detail_for_user' name=need.group.name %}">{{ need.group.name }}</a>{% endif %}</i></h6>
                                          </div>
                                          <div class="modal-body">
                                              <p>{{ need.text|linebreaksbr }}</p>
                                          </div>
                                          <div class="modal-footer">
                                              <button type="button" class="btn btn-default btn-sml standard-grey-button-light " onclick="location.href='{% url 'basics:aboutus' %}';" style="margin-bottom: 10px;"><span class="glyphicon glyphicon-comment"></span> Help</button>
                                              {% if not user.userdata in need.reported_by.all %}
                                                <button  type="button" data-dismiss="modal" class="btn btn-default btn-sml standard-grey-button-light " onclick="report({{need.pk}})" style="margin-bottom: 10px;"><span class="glyphicon glyphicon-ban-circle"></span> Report</button>
                                              {% endif %}
                                              <button id="standard-grey-button-light" type="button" class="btn btn-primary" data-dismiss="modal" style="margin-bottom: 10px;">Close</button>
                                          </div>
                                      </div>
                                  </div>
                              </div>
                              </div>
                          {% empty %}
                              <h4>There are no needs.</h4>
                          {% endfor %}
                      {% endif %}
{'fraction_non_alphanumeric': 0.12753138075313808, 'fraction_numerical': 0.005857740585774059, 'mean_word_length': 0.8195797807551766, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 0, '>': 177, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 194, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3306646', 'n_tokens_mistral': 2575, 'n_tokens_neox': 2371, 'n_words': 474}