##// END OF EJS Templates
comments: fix UX for not logged users when they try to comment.
milka -
r4572:629b4bc9 stable
parent child Browse files
Show More
@@ -645,12 +645,18 b" return '%s_%s_%i' % (h.md5_safe(commit+f"
645 645 <div class="reply-thread-container-wrapper${extra_class}" style="${extra_style}">
646 646 <div class="reply-thread-container${extra_class}">
647 647 <div class="reply-thread-gravatar">
648 % if c.rhodecode_user.username != h.DEFAULT_USER:
648 649 ${base.gravatar(c.rhodecode_user.email, 20, tooltip=True, user=c.rhodecode_user)}
650 % endif
649 651 </div>
652
650 653 <div class="reply-thread-reply-button">
654 % if c.rhodecode_user.username != h.DEFAULT_USER:
651 655 ## initial reply button, some JS logic can append here a FORM to leave a first comment.
652 656 <button class="cb-comment-add-button" onclick="return Rhodecode.comments.createComment(this, '${f_path}', '${line_no}', null)">Reply...</button>
657 % endif
653 658 </div>
659 ##% endif
654 660 <div class="reply-thread-last"></div>
655 661 </div>
656 662 </div>
General Comments 0
You need to be logged in to leave comments. Login now