From cc45de5791a5dc82ad951f4030c98e6465d153b6 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Mon, 10 Aug 2015 21:03:04 +0200 Subject: [PATCH] AutoCommit Mon Aug 10 21:03:04 CEST 2015 --- app/views/comments/_comment.html.erb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index 92d5abc..b17bdb3 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -10,14 +10,17 @@

<%= comment.text %> <% if can?(:comment, comment.commentable) && can?(:new, Comment) %> -
<%= link_to "comment" , new_comment_path( commentable_type: "Comment", commentable_id: comment.id), remote:true %> +
<%= link_to fa_icon("mail-reply")+" antworten" , new_comment_path( commentable_type: "Comment", commentable_id: comment.id), remote:true %> <% end %>

<%= render partial:"comments/comments", object: comment.children.order(:created_at).reverse_order if comment.children.size >0 %> -
+<%= link_to fa_icon("mail-reply")+" antworten" , new_comment_path( commentable_type: "Comment", commentable_id: comment.id), remote:true %> + + <% end %> +
">