Reading conditions in Ruby is much easier than reading them in ERB and, since the block only had only HTML tag (the <span> tag for deleted users) but was using Ruby in all other four cases, we're moving it to a Ruby file.
4 lines
54 B
Plaintext
4 lines
54 B
Plaintext
<span class="comment-avatar">
|
|
<%= avatar %>
|
|
</span>
|