diff --git a/app/views/comment/_comment.rhtml b/app/views/comment/_comment.rhtml index 1f30529..507a177 100644 --- a/app/views/comment/_comment.rhtml +++ b/app/views/comment/_comment.rhtml @@ -66,36 +66,6 @@ }); <% end %> - <%= report_abuse(comment.author, :comment_link, comment) if comment.author %> - - <% if comment.spam? %> -   - <%= link_to_function(_('Mark as NOT SPAM'), 'remove_comment(this, %s); return false;' % url_for(:profile => profile.identifier, :mark_comment_as_ham => comment.id).to_json, :class => 'comment-footer comment-footer-link comment-footer-hide') %> - <% else %> - <% if (logged_in? && (user == profile || user.has_permission?(:moderate_comments, profile))) %> -   - <%= link_to_function(_('Mark as SPAM'), 'remove_comment(this, %s, %s); return false;' % [url_for(:profile => profile.identifier, :controller => 'comment', :action => :mark_as_spam, :id => comment.id).to_json, _('Are you sure you want to mark this comment as SPAM?').to_json], :class => 'comment-footer comment-footer-link comment-footer-hide') %> - <% end %> - <% end %> - - <% if comment.author && comment.author == user %> -   - <%= expirable_comment_link comment, :edit, _('Edit'), url_for(:profile => profile.identifier, :controller => :comment, :action => :edit, :id => comment.id),:class => 'colorbox' %> - <% end %> - - <% if logged_in? && (user == profile || user == comment.author || user.has_permission?(:moderate_comments, profile)) %> -   - <%= link_to_function(_('Remove'), 'remove_comment(this, %s, %s); return false ;' % [url_for(:profile => profile.identifier, :controller => 'comment', :action => :destroy, :id => comment.id).to_json, _('Are you sure you want to remove this comment and all its replies?').to_json], :class => 'comment-footer comment-footer-link comment-footer-hide remove-children') %> - <% end %> - - <% unless comment.spam? %> -   - <%= link_to_function _('Reply'), - "var f = add_comment_reply_form(this, %s); f.find('comment_title, textarea').val(''); return false" % comment.id, - :class => 'comment-footer comment-footer-link comment-footer-hide', - :id => 'comment-reply-to-' + comment.id.to_s - %> - <% end %> <% end %> -- libgit2 0.21.2