]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/node/post_controls.html
Added a direct option to mark a post as community wiki, still needs some sort of...
[osqa.git] / forum / skins / default / templates / node / post_controls.html
index 9311e4b254221bedb3889efe6abe8c8fb75d8f25..c8808a9c63e2c7a6d28a57c6eb32e115547f80ad 100644 (file)
@@ -2,8 +2,7 @@
 {% spaceless %}\r
 {% for control in controls %}\r
     <span class="action-link">\r
-        <a title="{{ control.title }}" class="{% if control.command %}ajax-command{% endif %}{% if control.withprompt %} withprompt{% endif %}"\r
-            href="{{ control.url }}">{{ control.text }}</a>\r
+        <a title="{{ control.title }}" class="{{ control.classes }}" href="{{ control.url }}">{{ control.text }}</a>\r
     </span>\r
     {% ifnotequal controls|last control %}\r
         <span class="action-link-separator">|</span>\r
@@ -14,8 +13,7 @@
         <span id="node-{{ node.id }}-menu-trigger" class="context-menu-trigger">{% trans "more" %} &#9660;</span>\r
         <ul id="node-{{ node.id }}-menu-dropdown" class="context-menu-dropdown">\r
             {% for item in menu %}\r
-            <li class="item"><a class="{% if item.command %}ajax-command{% endif %}{% if item.withprompt %} withprompt{% endif %}"\r
-                href="{{ item.url }}" title="{{ item.title }}" >{{ item.text }}</a></li>\r
+            <li class="item"><a class="{{ item.classes }}" href="{{ item.url }}" title="{{ item.title }}" >{{ item.text }}</a></li>\r
             {% endfor %}\r
         </ul>\r
     </span>\r