• <%= avatar_for comment.user, 50 %>

    <%= truncate(present(comment).author, :length => 30) %>

    <%= present(comment).date_posted %> <%= ' | '.html_safe + link_to(I18n.t('cms.reply'), '#reply') if comment.commentable.comments_allowed? && user_signed_in? %> <% if false #user_signed_in? && can?(:edit, comment) %> | <%= link_to I18n.t('fms.admin.edit_post'), [commenting_on, :ajax_edit_comment, comment] %> <% end %> <%= ' | '.html_safe + link_to(I18n.t('cms.delete'), [commenting_on, :ajax_delete_comment, comment], method: :delete, data: {confirm: 'Are you sure you wish to delete this comment?'}) if is_admin? %>

    <% if comment.user.active? %> <%= present(comment).formatted_comment %> <% else %>

    (<% I18n.t 'cms.suspended_user_post' %>)

    <% end %>