<commit_before>{% extends request.is_ajax|yesno:"umklapp/base_ajax.html,umklapp/base.html"%}
{% load bootstrap %}
{% block title %}Das Umklappspiel{% endblock %}

{% block pretitle %}{% if action_count %}({{action_count}}) {% endif %}{% endblock %}

{% block content %}
<div class="container">

<h2>Laufende Geschichten</h2>
{% if running_stories %}

  <div>
  <table class="table">
   <thead>
    <tr>
     <th class="expand"></th>
     <th class="text-right" title="Anzahl Sätze in der Geschichte">
     <span class="glyphicon glyphicon-align-left" aria-hidden="true"></span></th>
     <th class="text-right" title="Anzahl Mitspieler">
      <span class="glyphicon glyphicon-user" aria-hidden="true"></span></th>
     <th class="text-left" title="Aktueller Spieler">
      <span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span></th>
    </tr>
   </thead>
   <tbody>
    {% for s in running_stories %}
     <tr {% if s.waiting_for = user %} class="actionable" {% endif %}>
      <td class="ellipsis"><a class="tablelink" href="{% url 'show_story' story_id=s.id %}">{{ s.title }}</a></td>
      <td class="text-right">{{ s.parts_count }}</td>
      <td class="text-right">{{ s.active_count }}</td>
      <td class="text-left" style="white-space: nowrap">
        {{ s.waiting_for }}
        {% if s.skipvote_count > 0 %}
	 {% if s in stories_skip_vote %}<small class="text-muted" title="{{ s.skipvote_count }} von {{ s.necessary_skip_votes }} nötigen Stimmen bis {{ s.waiting_for }} übersprungen wird">{% else %}
	 <small class="text" title="{{ s.skipvote_count }} von {{ s.necessary_skip_votes }} nötigen Stimmen bis {{ s.waiting_for }} übersprungen wird">{% endif %}
	 ({{ s.skipvote_count }}/{{ s.necessary_skip_votes }})
	 </small>
	{% endif %}
      </td>
     </tr>
   {% endfor %}
   </tbody><commit_msg>grey out those stories that the user always skips<commit_after>{% extends request.is_ajax|yesno:"umklapp/base_ajax.html,umklapp/base.html"%}
{% load bootstrap %}
{% block title %}Das Umklappspiel{% endblock %}

{% block pretitle %}{% if action_count %}({{action_count}}) {% endif %}{% endblock %}

{% block content %}
<div class="container">

<h2>Laufende Geschichten</h2>
{% if running_stories %}

  <div>
  <table class="table">
   <thead>
    <tr>
     <th class="expand"></th>
     <th class="text-right" title="Anzahl Sätze in der Geschichte">
     <span class="glyphicon glyphicon-align-left" aria-hidden="true"></span></th>
     <th class="text-right" title="Anzahl Mitspieler">
      <span class="glyphicon glyphicon-user" aria-hidden="true"></span></th>
     <th class="text-left" title="Aktueller Spieler">
      <span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span></th>
    </tr>
   </thead>
   <tbody>
    {% for s in running_stories %}
     <tr {% if s.waiting_for = user %} class="actionable" {% endif %}>
      <td class="ellipsis"><a class="tablelink" href="{% url 'show_story' story_id=s.id %}">{% if user in s.always_skip.all %}<small class="text-muted">{% endif %}{{ s.title }}{% if user in s.always_skip.all %}</small>{% endif %}</a></td>
      <td class="text-right">{{ s.parts_count }}</td>
      <td class="text-right">{{ s.active_count }}</td>
      <td class="text-left" style="white-space: nowrap">
        {{ s.waiting_for }}
        {% if s.skipvote_count > 0 %}
	 {% if s in stories_skip_vote %}<small class="text-muted" title="{{ s.skipvote_count }} von {{ s.necessary_skip_votes }} nötigen Stimmen bis {{ s.waiting_for }} übersprungen wird">{% else %}
	 <small class="text" title="{{ s.skipvote_count }} von {{ s.necessary_skip_votes }} nötigen Stimmen bis {{ s.waiting_for }} übersprungen wird">{% endif %}
	 ({{ s.skipvote_count }}/{{ s.necessary_skip_votes }})
	 </small>
	{% endif %}
      </td>
     </tr>
   {% endfor %}
   </tbody>
{'fraction_non_alphanumeric': 0.19931901519119957, 'fraction_numerical': 0.001571503404924044, 'mean_word_length': 3.934108527131783, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 87, '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': '6525774', 'n_tokens_mistral': 1419, 'n_tokens_neox': 1318, 'n_words': 290}