|
9 | 9 | -else |
10 | 10 | = link_to "Inclure les réponses à mes commentaires", self: "1" |
11 | 11 | %br |
12 | | - %table#my_comments |
13 | | - %tr |
14 | | - %th Fil initiateur |
15 | | - %th Sujet du commentaire |
16 | | - %th Date |
17 | | - %th Note |
18 | | - %th <abbr title="Nombre de réponses">Rép.</abbr> |
19 | | - %th Dernière réponse |
20 | | - - @comments.each do |comment| |
21 | | - - next if comment.node.nil? |
22 | | - - answer = comment.last_answer |
| 12 | + .table_container |
| 13 | + %table#my_comments |
23 | 14 | %tr |
24 | | - %td #{translate_content_type comment.content_type} : #{link_to_content comment.content} |
25 | | - %td= link_to comment.title, path_for_content(comment.node.content) + "#comment-#{comment.id}" |
26 | | - %td.date= comment.created_at.to_s(:posted) |
27 | | - %td.number= comment.bound_score |
28 | | - %td.number |
29 | | - - if answer && !answer.read_by?(current_account) |
30 | | - = image_tag "/images/icones/comment.png", alt: "Nouveaux commentaires !", class: "thread-new-comments" |
31 | | - = comment.nb_answers |
32 | | - %td.date= answer ? answer.created_at.to_s(:posted) : " " |
| 15 | + %th.left Fil initiateur |
| 16 | + %th.left Sujet du commentaire |
| 17 | + %th.left Date |
| 18 | + %th.number Note |
| 19 | + %th.number <abbr title="Nombre de réponses">Rép.</abbr> |
| 20 | + %th.left Dernière réponse |
| 21 | + - @comments.each do |comment| |
| 22 | + - next if comment.node.nil? |
| 23 | + - answer = comment.latest_answer |
| 24 | + %tr |
| 25 | + %td #{translate_content_type comment.content_type} : #{link_to_content comment.content} |
| 26 | + %td= link_to comment.title, path_for_content(comment.node.content) + "#comment-#{comment.id}" |
| 27 | + %td.date= comment.created_at.to_s(:posted) |
| 28 | + %td.number= comment.bound_score |
| 29 | + %td.number |
| 30 | + - if answer && !answer.read_by?(current_account) |
| 31 | + = image_tag "/images/icones/comment.png", alt: "Nouveaux commentaires !", class: "thread-new-comments" |
| 32 | + = comment.nb_answers |
| 33 | + %td.date= answer ? answer.created_at.to_s(:posted) : " " |
0 commit comments