{% extends "base.html" %}

{% load humanize %}

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

        {% include "home.html" %}
        {% include "tabs.html" %}

        {% block tab_content %}
        <ul class="argument-list">
            {% for contention in contentions %}
                <li>
                    <div class="stats">
                        <span class="because">{{ contention.because.count }} çünkü</span>
                        <span class="but">{{ contention.but.count }} ama</span>
                        <span class="however">{{ contention.however.count }} ancak</span>
                    </div>
                    <div class="info">
                        <a class="main-contention" href="{{ contention.get_absolute_url }}">{{ contention.title }}</a>

                        <div class="user">son gönderen: <a
                                href="{% url "auth_profile" contention.last_user.username %}">{{ contention.last_user }}</a>
                            <time datetime="{{ contention.date_modification }}">({{ contention.date_modification|naturaltime }})</time>
                        </div>
                    </div>
                </li>
            {% empty %}
                <li>Sonuç bulunamadı.</li>
            {% endfor %}
            {% if has_next_page %}
            <li class="load-more">
                <a class="next" href="{{ next_page_url }}">Daha fazla yükle</a>
            </li>
            {% endif %}
        </ul>
        {% endblock %}

    </div>
{% endblock %}

{% block extra-scripts %}
{% include "infinity-pagination.html" %}
{% endblock %}

{% extends "base.html" %}

{% load humanize %}

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

        {% include "home.html" %}
        {% include "tabs.html" %}

        {% block tab_content %}
        <ul class="argument-list">
            {% for contention in contentions %}
                <li>
                    <div class="stats">
                        <span class="because">{{ contention.because.count }} çünkü</span>
                        <span class="but">{{ contention.but.count }} ama</span>
                        <span class="however">{{ contention.however.count }} ancak</span>
                    </div>
                    <div class="info">
                        <a class="main-contention" href="{{ contention.get_absolute_url }}">{{ contention.title }}</a>

                        <div class="user">son gönderen: <a
                                href="{% url "auth_profile" contention.last_user.username %}">{{ contention.last_user }}</a>
                            <time datetime="{{ contention.date_modification }}">({{ contention.date_modification|naturaltime }})</time>
                        </div>
                    </div>
                </li>
            {% empty %}
                {% if keywords %}
                    <li>Sonuç bulunamadı.</li>
                {% endif %}
            {% endfor %}
            {% if has_next_page %}
            <li class="load-more">
                <a class="next" href="{{ next_page_url }}">Daha fazla yükle</a>
            </li>
            {% endif %}
        </ul>
        {% endblock %}

    </div>
{% endblock %}

{% block extra-scripts %}
{% include "infinity-pagination.html" %}
{% endblock %}

Fix empty state of search result
Fix empty state of search result
