Show More
@@ -3697,7 +3697,7 b' div.rst-block pre {' | |||
|
3697 | 3697 | |
|
3698 | 3698 | .comments .comment .meta { |
|
3699 | 3699 | background: #f8f8f8; |
|
3700 |
padding: |
|
|
3700 | padding: 4px; | |
|
3701 | 3701 | border-bottom: 1px solid #ddd; |
|
3702 | 3702 | } |
|
3703 | 3703 | |
@@ -3710,13 +3710,14 b' div.rst-block pre {' | |||
|
3710 | 3710 | } |
|
3711 | 3711 | |
|
3712 | 3712 | .comments .comment .meta .date { |
|
3713 | float: right; | |
|
3714 | 3713 | } |
|
3715 | 3714 | |
|
3716 | 3715 | .comments .comment .text { |
|
3717 | padding: 8px 6px 6px 14px; | |
|
3718 | 3716 | background-color: #FAFAFA; |
|
3719 | 3717 | } |
|
3718 | .comment .text div.rst-block p { | |
|
3719 | margin: 0.5em 0px !important; | |
|
3720 | } | |
|
3720 | 3721 | |
|
3721 | 3722 | .comments .comments-number{ |
|
3722 | 3723 | padding:0px 0px 10px 0px; |
@@ -3784,8 +3785,7 b' form.comment-form {' | |||
|
3784 | 3785 | } |
|
3785 | 3786 | |
|
3786 | 3787 | .comment .buttons { |
|
3787 | position: absolute; | |
|
3788 | right:40px; | |
|
3788 | float: right; | |
|
3789 | 3789 | } |
|
3790 | 3790 | |
|
3791 | 3791 | |
@@ -3872,7 +3872,7 b' form.comment-inline-form {' | |||
|
3872 | 3872 | } |
|
3873 | 3873 | .inline-comments .comment .meta { |
|
3874 | 3874 | background: #f8f8f8; |
|
3875 |
padding: |
|
|
3875 | padding: 4px; | |
|
3876 | 3876 | border-bottom: 1px solid #ddd; |
|
3877 | 3877 | } |
|
3878 | 3878 | |
@@ -3885,11 +3885,9 b' form.comment-inline-form {' | |||
|
3885 | 3885 | } |
|
3886 | 3886 | |
|
3887 | 3887 | .inline-comments .comment .meta .date { |
|
3888 | float: right; | |
|
3889 | 3888 | } |
|
3890 | 3889 | |
|
3891 | 3890 | .inline-comments .comment .text { |
|
3892 | padding: 8px 6px 6px 14px; | |
|
3893 | 3891 | background-color: #FAFAFA; |
|
3894 | 3892 | } |
|
3895 | 3893 |
@@ -11,22 +11,16 b'' | |||
|
11 | 11 | <img src="${h.gravatar_url(co.author.email, 20)}" /> |
|
12 | 12 | ${co.author.username} |
|
13 | 13 | </span> |
|
14 | <a href="${h.url.current(anchor='comment-%s' % co.comment_id)}"> ${_('commented on')} </a> | |
|
15 | ${h.short_id(co.revision)} | |
|
16 | %if co.f_path: | |
|
17 | ${_(' in file ')} | |
|
18 | ${co.f_path}:L ${co.line_no} | |
|
19 | %endif | |
|
20 | 14 | <span class="date"> |
|
21 | 15 | ${h.age(co.modified_at)} |
|
22 | 16 | </span> |
|
17 | %if h.HasPermissionAny('hg.admin', 'repository.admin')() or co.author.user_id == c.rhodecode_user.user_id: | |
|
18 | <span class="buttons"> | |
|
19 | <span onClick="deleteComment(${co.comment_id})" class="delete-comment ui-btn">${_('Delete')}</span> | |
|
20 | </span> | |
|
21 | %endif | |
|
23 | 22 | </div> |
|
24 | 23 | <div class="text"> |
|
25 | %if h.HasPermissionAny('hg.admin', 'repository.admin')() or co.author.user_id == c.rhodecode_user.user_id: | |
|
26 | <div class="buttons"> | |
|
27 | <span onClick="deleteComment(${co.comment_id})" class="delete-comment ui-btn">${_('Delete')}</span> | |
|
28 | </div> | |
|
29 | %endif | |
|
30 | 24 | ${h.rst_w_mentions(co.text)|n} |
|
31 | 25 | </div> |
|
32 | 26 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now