]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/node/comments.html
The convert to answer action now works only if the comment parent is a question or...
[osqa.git] / forum / skins / default / templates / node / comments.html
index 5fea00c030dca680d5ba7bc4fc1025b86ded234f..9105f56872df0122a63d69d86b326021495f3660 100644 (file)
                 {% endif %}\r
                 {% if comment.can_delete %}\r
                     <a id="comment-{{ comment.id }}-delete" href="{% url delete_comment id=comment.id %}" title="{% trans "Delete comment" %}"\r
-                        class="ajax-command comment-delete" rel="nofollow"> </a>\r
+                        class="ajax-command comment-delete confirm" rel="nofollow"> </a>\r
                 {% endif %}\r
                 {% if comment.can_convert %}\r
                     <a rel="nofollow" id="comment-{{ comment.id }}-convert" href="{% url convert_comment id=comment.id %}" title="{% trans "Convert comment to answer" %}"\r
-                        class="ajax-command comment-convert confirm" rel="nofollow">{% trans "Convert comment to answer" %}</a>\r
+                        class="ajax-command comment-convert confirm" rel="nofollow"> </a>\r
                 {% endif %}\r
                     \r
 \r
                 <div id="post-%ID%-score" class="comment-score"></div>\r
                 <div class="comment-text">%COMMENT%</div>\r
                 <div class="comment-info" id="comment-%ID%-info">\r
-                    <a id="comment-%ID%-edit" href="%EDIT_URL%"\r
+                    <a id="comment-%ID%-edit" href="%EDIT_URL%" title="{% trans "Edit comment" %}"\r
                         class="comment-edit" rel="nofollow"> </a>\r
-                    <a id="comment-%ID%-delete" href="%DELETE_URL%"\r
-                        class="ajax-command comment-delete" rel="nofollow"> </a>\r
-                    <a rel="nofollow" id="comment-%ID%-convert" href="%CONVERT_URL%" title="{% trans "Convert comment to answer" %}"\r
-                        class="ajax-command comment-convert confirm" rel="nofollow">{% trans "Convert comment to answer" %}</a>\r
+                    <a id="comment-%ID%-delete" href="%DELETE_URL%" title="{% trans "Delete comment" %}"\r
+                        class="ajax-command comment-delete confirm" rel="nofollow"> </a>\r
+                    <a rel="nofollow" id="comment-%ID%-convert" style="display:none;" href="%CONVERT_URL%" title="{% trans "Convert comment to answer" %}"\r
+                        class="ajax-command comment-convert confirm" rel="nofollow"> </a>\r
 \r
                     <span class="comment-age">({% trans "just now" %})</span>\r
                     <a class="comment-user" href="%PROFILE_URL%">%USERNAME%</a>\r