[Oi-commits] r1136 - in trunk: media/dijital/img/forum templates/forum

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Fri Mar 14 16:48:44 EET 2008


Author: jnmbk
Date: Fri Mar 14 16:48:44 2008
New Revision: 1136

Added:
   trunk/media/dijital/img/forum/topic.png
      - copied, changed from r1075, trunk/media/dijital/img/forum/eski_konu.gif
Removed:
   trunk/media/dijital/img/forum/eski_konu.gif
Modified:
   trunk/templates/forum/forum_detail.html
   trunk/templates/forum/forum_list.html
Log:
eski_konu.gif->topic.png

Copied: trunk/media/dijital/img/forum/topic.png (from r1075, trunk/media/dijital/img/forum/eski_konu.gif)
=================================================================
Binary files. No diff available.

Modified: trunk/templates/forum/forum_detail.html
=================================================================
--- trunk/templates/forum/forum_detail.html	(original)
+++ trunk/templates/forum/forum_detail.html	Fri Mar 14 16:48:44 2008
@@ -26,7 +26,7 @@
     {% 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 %}{% if topic.is_read %}<img src="/media/dijital/img/forum/topic_locked.png" border="0" alt="Kilitli Konu" title="Kilitli Konu" />{% else %}<img src="/media/dijital/img/forum/topic_unread_locked.png" border="0" alt="Kilitli Konu" title="Kilitli Konu" />{% endif %}{% 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_icon"><a href="{{ topic.get_absolute_url }}">{% if topic.locked and not topic.sticky %}<img src="/media/dijital/img/forum/topic{% if not topic.is_read %}_unread{% endif %}_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/topic{% if not topic.is_read %}_unread{% endif %}.png" 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"><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>

Modified: trunk/templates/forum/forum_list.html
=================================================================
--- trunk/templates/forum/forum_list.html	(original)
+++ trunk/templates/forum/forum_list.html	Fri Mar 14 16:48:44 2008
@@ -26,7 +26,7 @@
             {% 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">{% 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_icon"><img src="/media/dijital/img/forum/topic{% if not forum.is_read %}_unread{% endif %}.png" /></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>


More information about the Oi-commits mailing list