]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/node/comments.html
adding some images for wmd
[osqa.git] / forum / skins / default / templates / node / comments.html
index 71b454a14b41da52b8cfc4ceb37292c259aff8f3..87ce889dedfb537599898e31d8df015265aabf3e 100644 (file)
@@ -22,7 +22,7 @@
                         class="ajax-command comment-delete" rel="nofollow"> </a>\r
                 {% endif %}\r
                 <span class="comment-age">({% diff_date comment.added_at %})</span>\r
-                <a class="comment-user userinfo" href="{{comment.user.get_profile_url}}">{{comment.user}}</a>\r
+                <a class="comment-user userinfo" href="{{comment.user.get_profile_url}}">{{comment.user.decorated_name}}</a>\r
                 {% if show_gravatar %}{% gravatar comment.user 18 %}{% endif %}\r
             </div>\r
         </div>\r
     {% if can_comment %}\r
     <form id="comment-{{ post.id }}-form" method="post" action="{% url comment id=post.id %}" accept-charset="utf-8">\r
         <div class="comment-form-widgets-container">\r
-            <textarea name="comment"></textarea>\r
+            <textarea name="comment" class="commentBox"></textarea>\r
             <div class="comment-form-buttons">\r
                 <span id="comment-{{ post.id }}-chars-left" class="comment-chars-left">\r
                     <span class="comments-char-left-count">{{ min_length }}|{{ max_length }}</span>\r
                     <span class="comments-chars-togo-msg">{% trans "characters needed" %}</span>\r
                     <span class="comments-chars-left-msg">{% trans "characters left" %}</span>\r
                 </span>\r
-                <input type="submit" class="comment-submit" value="{% trans " comment" %}" />\r
+                <input type="submit" class="comment-submit" value="{% trans " comment" %}" onclick="window.removeEventListener('beforeunload', beforeUnload, true)" />\r
                 <input type="submit" class="comment-cancel" value="{% trans " cancel" %}" />\r
             </div>\r
         </div>\r