2010-07-06 19:25:42 +03:00
|
|
|
{% extends "main/base.html" %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
|
|
|
{% for entry in p_entries_list.object_list|slice:items_per_page %}
|
|
|
|
{% autoescape off %}
|
|
|
|
|
|
|
|
{% ifequal entry.entry_id.is_approved 1 %}
|
2010-07-15 14:48:56 +03:00
|
|
|
|
2010-07-06 19:25:42 +03:00
|
|
|
{% ifchanged entry.date.day entry.date.month entry.date.year %}<div class="separator"></div>{% endifchanged %}
|
|
|
|
|
|
|
|
{% ifchanged %}<h2 class="date">{{ entry.date|date:"d F Y" }}</h2>{% endifchanged %}
|
|
|
|
|
|
|
|
<div class="innercontent">
|
|
|
|
|
2010-07-15 14:48:56 +03:00
|
|
|
<a href="{{ entry.entry_id.channel_link }}" title="{{ entry.entry_id.channel_title }}"><img class="face" src="/djagenmedia/images/heads/{{ entry.entry_id.author_face|default:"nobody.png" }}" title="{{ entry.entry_id.author_name }} {{ entry.entry_id.author_surname }}" width="80" height="80" /></a>
|
2010-07-06 19:25:42 +03:00
|
|
|
<h1 class="title"><a href="{{ entry.link }} ">{{ entry.title }}</a></h1>
|
|
|
|
<p class="yazaneden">
|
2010-07-15 14:48:56 +03:00
|
|
|
Yazar: <a href="{{ entry.entry_id.channel_link }}" title="{{ entry.entry_id.channel_title }}">{{ entry.entry_id.author_name }} {{ entry.entry_id.author_surname }}</a>
|
2010-07-06 19:25:42 +03:00
|
|
|
Tarih: <span class="blogdate">{{ entry.date|date:"d F Y H:i" }}</span>
|
|
|
|
</p>
|
|
|
|
<div class="blogcontent">
|
|
|
|
{{ entry.content_html|truncatewords_html:truncate_words }}
|
|
|
|
</div>
|
|
|
|
{% endifequal %}
|
|
|
|
{% endautoescape %}
|
|
|
|
|
|
|
|
</div>
|
2010-07-15 14:48:56 +03:00
|
|
|
|
2010-07-06 19:25:42 +03:00
|
|
|
|
|
|
|
{% endfor %}
|
2010-07-15 14:48:56 +03:00
|
|
|
|
2010-07-06 19:25:42 +03:00
|
|
|
<div class="pagination">
|
|
|
|
<span class="step-links">
|
2010-07-15 14:48:56 +03:00
|
|
|
|
|
|
|
{% if q_author_name or q_author_surname or q_text %}
|
|
|
|
<span class="current">
|
|
|
|
Sayfa <b>{{ p_entries_list.number }}</b> / <b>{{ p_entries_list.paginator.num_pages }}</b>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<div class="pagelist" style="text-align:center">
|
|
|
|
{% if p_entries_list.has_previous %}
|
|
|
|
<a href="?q_author_name={{ q_author_name }}&q_author_surname={{ q_author_surname }}&q_text={{ q_text }}&page={{ p_entries_list.previous_page_number }}">Geri</a>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
{% for pNum in p_entries_list.paginator.page_range %}
|
|
|
|
{% ifequal pNum p_entries_list.number %}
|
|
|
|
{{ pNum }}
|
|
|
|
{% else %}
|
|
|
|
<a href="?q_author_name={{ q_author_name }}&q_author_surname={{ q_author_surname }}&q_text={{ q_text }}&page={{ pNum }}">{{ pNum }}</a>
|
|
|
|
{% endifequal %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if p_entries_list.has_next %}
|
|
|
|
<a href="?q_author_name={{ q_author_name }}&q_author_surname={{ q_author_surname }}&q_text={{ q_text }}&page={{ p_entries_list.next_page_number }}">İleri</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% else %}
|
2010-07-06 19:25:42 +03:00
|
|
|
<span class="current">
|
|
|
|
Sayfa <b>{{ p_entries_list.number }}</b> / <b>{{ p_entries_list.paginator.num_pages }}</b>
|
|
|
|
</span>
|
2010-07-15 14:48:56 +03:00
|
|
|
|
2010-07-06 19:25:42 +03:00
|
|
|
<div class="pagelist" style="text-align:center">
|
2010-07-15 14:48:56 +03:00
|
|
|
{% if p_entries_list.has_previous %}
|
|
|
|
<a href="?q_author_name=?page={{ p_entries_list.previous_page_number }}">Geri</a>
|
|
|
|
{% endif %}
|
2010-07-06 19:25:42 +03:00
|
|
|
|
|
2010-07-15 14:48:56 +03:00
|
|
|
|
|
|
|
{% for pNum in p_entries_list.paginator.page_range %}
|
|
|
|
{% ifequal pNum p_entries_list.number %}
|
|
|
|
{{ pNum }}
|
|
|
|
{% else %}
|
|
|
|
<a href="?page={{ pNum }}">{{ pNum }}</a>
|
|
|
|
{% endifequal %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if p_entries_list.has_next %}
|
|
|
|
<a href="?page={{ p_entries_list.next_page_number }}">İleri</a>
|
|
|
|
{% endif %}
|
2010-07-06 19:25:42 +03:00
|
|
|
</div>
|
|
|
|
|
2010-07-15 14:48:56 +03:00
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2010-07-06 19:25:42 +03:00
|
|
|
{% endblock %}
|
|
|
|
|