[Oi-commits] r1114 - trunk/templates/forum

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Sat Mar 8 15:20:14 EET 2008


Author: jnmbk
Date: Sat Mar  8 15:20:14 2008
New Revision: 1114

Modified:
   trunk/templates/forum/topic.html
Log:
put edit-topic button at the end

Modified: trunk/templates/forum/topic.html
=================================================================
--- trunk/templates/forum/topic.html	(original)
+++ trunk/templates/forum/topic.html	Sat Mar  8 15:20:14 2008
@@ -39,11 +39,6 @@
             <div id="post_message_top_date">
                 {{ post.created|date:"d-m-Y H:i" }}
             </div>
-            {% if perms.forum.change_topic %}
-            <div id="post_message_top_button">
-                <a href="{{ topic.get_edit_url }}">edit_topic</a>
-            </div>
-            {% endif %}
             {% if perms.forum.change_post %}
             <div id="post_message_top_button">
                 <a href="{{ post.get_edit_url }}"><img src="/media/dijital/img/forum/duzenle.jpg" border="0" /></a>
@@ -137,6 +132,9 @@
     {% if perms.forum.can_lock_topic and not topic.locked %}
         <div id="post_bottom_big"><a href="{{ topic.get_lock_url }}" border="0"><img src="/media/dijital/img/forum/lock.jpg" border="0" /></a></div>
     {% endif %}
+    {% if perms.forum.change_topic %}
+        <div id="post_bottom_small"><a href="{{ topic.get_edit_url }}">edit_topic</a></div>
+    {% endif %}
 {% if is_paginated %}
     <div id="post_pagination">{% paginator %}</div>
 {% endif %}


More information about the Oi-commits mailing list