<commit_before>{% extends "zwitschern/base.html" %}

{% load i18n %}
{% load oembed_tags %}
{% load pagination_tags %}

{% block head_title %}Pinax : {% blocktrans %}Public Tweets{% endblocktrans %}{% endblock %}

{% block extra_head %}
<link rel="alternate" type="application/atom+xml" title="Tweets Feed" href="/feeds/tweets/" />
{% endblock %}

{% block body %}
<h1>{% trans "All Tweets" %}</h1>

<p>These are tweets from everyone:</p>

{% oembed %}
{% autopaginate %}
{% for tweet in tweets %}
<div class="tweet" id="t{{ tweet.id }}">
<a href="{% url profiles.views.profile tweet.sender %}"><b>{{ tweet.sender }}</b></a>
{{ tweet.html|safe }}
<span class="timesince">{{ tweet.sent|timesince }} ago</span>
<a class="reply" href="{% url zwitschern.views.personal %}?reply={{ tweet.sender }}">reply</a>
</div>
{% endfor %}
{% endoembed %}
{% paginate %}

{% endblock %}
<commit_msg>Fixed bug with tweet pagination.<commit_after>{% extends "zwitschern/base.html" %}

{% load i18n %}
{% load oembed_tags %}
{% load pagination_tags %}

{% block head_title %}Pinax : {% blocktrans %}Public Tweets{% endblocktrans %}{% endblock %}

{% block extra_head %}
<link rel="alternate" type="application/atom+xml" title="Tweets Feed" href="/feeds/tweets/" />
{% endblock %}

{% block body %}
<h1>{% trans "All Tweets" %}</h1>

<p>These are tweets from everyone:</p>

{% oembed %}
{% autopaginate tweets %}
{% for tweet in tweets %}
<div class="tweet" id="t{{ tweet.id }}">
<a href="{% url profiles.views.profile tweet.sender %}"><b>{{ tweet.sender }}</b></a>
{{ tweet.html|safe }}
<span class="timesince">{{ tweet.sent|timesince }} ago</span>
<a class="reply" href="{% url zwitschern.views.personal %}?reply={{ tweet.sender }}">reply</a>
</div>
{% endfor %}
{% endoembed %}
{% paginate %}

{% endblock %}

{'fraction_non_alphanumeric': 0.22600446428571427, 'fraction_numerical': 0.004464285714285714, 'mean_word_length': 5.161512027491409, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2133028', 'n_tokens_mistral': 721, 'n_tokens_neox': 626, 'n_words': 153}