[Oi-commits] r1129 - in trunk: media/dijital/img/forum templates/forum
oi-commits at pardus.org.tr
oi-commits at pardus.org.tr
Wed Mar 12 17:44:00 EET 2008
Author: jnmbk
Date: Wed Mar 12 17:43:59 2008
New Revision: 1129
Added:
trunk/media/dijital/img/forum/topic_unread.png (contents, props changed)
Modified:
trunk/templates/forum/forum_detail.html
trunk/templates/forum/forum_list.html
Log:
unread topic icon (we also need topic_unread_locked)
Modified: trunk/templates/forum/forum_detail.html
=================================================================
--- trunk/templates/forum/forum_detail.html (original)
+++ trunk/templates/forum/forum_detail.html Wed Mar 12 17:43:59 2008
@@ -26,8 +26,8 @@
{% else %}
<div id="topics_item" {% if topic.hidden %}style="opacity: 0.5;"{% endif %}>
- <div id="topics_item_icon"><a href="{{ topic.get_absolute_url }}">{% if topic.locked and not topic.sticky %}<img src="/media/dijital/img/forum/topic_locked.png" border="0" alt="Kilitli Konu" title="Kilitli Konu" />{% endif %}{% if topic.sticky and not topic.locked %}<img src="/media/dijital/img/forum/topic_sticky.png" border="0" alt="Sabit Konu" title="Sabit Konu" />{% endif %}{% if not topic.locked and not topic.sticky %}<img src="/media/dijital/img/forum/eski_konu.gif" border="0" />{% endif %}{% if topic.locked and topic.sticky %}<img src="/media/dijital/img/forum/topic_sticky_locked.png" border="0" alt="Sabit ve Kilitli Konu" title="Sabit ve Kilitli Konu" />{% endif %}</a></div>
- <div id="topics_item_title">{% if not topic.is_read %}un{% endif %}read<a href="{{ topic.get_absolute_url }}">{{ topic.title|escape }}</a></div>
+ <div id="topics_item_icon"><a href="{{ topic.get_absolute_url }}">{% if topic.locked and not topic.sticky %}<img src="/media/dijital/img/forum/topic_locked.png" border="0" alt="Kilitli Konu" title="Kilitli Konu" />{% endif %}{% if topic.sticky and not topic.locked %}<img src="/media/dijital/img/forum/topic_sticky.png" border="0" alt="Sabit Konu" title="Sabit Konu" />{% endif %}{% if not topic.locked and not topic.sticky %}{% if topic.is_read %}<img src="/media/dijital/img/forum/eski_konu.gif" border="0" />{% else %}<img src="/media/dijital/img/forum/topic_unread.png" border="0" />{% endif %}{% endif %}{% if topic.locked and topic.sticky %}<img src="/media/dijital/img/forum/topic_sticky_locked.png" border="0" alt="Sabit ve Kilitli Konu" title="Sabit ve Kilitli Konu" />{% endif %}</a></div>
+ <div id="topics_item_title"><a href="{{ topic.get_absolute_url }}">{{ topic.title|escape }}</a></div>
<div id="topics_item_posts">{{ topic.posts }}</div>
<div id="topics_item_views">{{ topic.views }}</div>
<div id="topics_item_lastpost">{{ topic.topic_latest_post.edited|date:"d F Y H:i" }}<br />{{ topic.topic_latest_post.author }} <a href="{{ topic.get_latest_post_url }}"><img src="/media/dijital/img/forum/msg_sim.gif" border="0"/></a></div>
Modified: trunk/templates/forum/forum_list.html
=================================================================
--- trunk/templates/forum/forum_list.html (original)
+++ trunk/templates/forum/forum_list.html Wed Mar 12 17:43:59 2008
@@ -26,8 +26,8 @@
{% if forum.hidden and not perms.forum.can_see_hidden_forums %}
{% else %}
<div id="category_forums_item" {% if forum.hidden %}style="opacity: 0.5;"{% endif %}>
- <div id="category_forums_item_icon"><img src="/media/dijital/img/forum/eski_konu.gif" /></div>
- <div id="category_forums_item_title"><a href="{{ forum.get_absolute_url }}">{% if not forum.is_read %}un{% endif %}read{{ forum.name|escape }}</a><br />{{ forum.description }}</div>
+ <div id="category_forums_item_icon">{% if forum.is_read %}<img src="/media/dijital/img/forum/eski_konu.gif" />{% else %}<img src="/media/dijital/img/forum/topic_unread.png" />{% endif %}</div>
+ <div id="category_forums_item_title"><a href="{{ forum.get_absolute_url }}">{{ forum.name|escape }}</a><br />{{ forum.description }}</div>
<div id="category_forums_item_topics">{{ forum.topics }}</div>
<div id="category_forums_item_posts">{{ forum.posts }}</div>
<div id="category_forums_item_lastpost">{% if forum.forum_latest_post %}{{ forum.forum_latest_post.edited|date:"d F Y H:i" }}<br />{{ forum.forum_latest_post.author }} <a href="{{ forum.get_latest_post_url }}"><img src="/media/dijital/img/forum/msg_sim.gif" border="0"/></a>{% else %}Henüz ileti yok{% endif %}
More information about the Oi-commits
mailing list