#1929: Don't show blank reason
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<% end %>
|
||||
<li><strong>Creator</strong> <%= link_to_user @tag_alias.creator %></li>
|
||||
<li><strong>Date</strong> <%= @tag_alias.created_at %></li>
|
||||
<% if @tag_alias.respond_to?(:reason) %>
|
||||
<% if @tag_alias.respond_to?(:reason) && @tag_alias.reason.present? %>
|
||||
<li><strong>Reason</strong> <%= format_text @tag_alias.reason %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<% end %>
|
||||
<li><strong>Creator</strong> <%= link_to_user @tag_implication.creator %></li>
|
||||
<li><strong>Date</strong> <%= @tag_implication.created_at %></li>
|
||||
<% if @tag_implication.respond_to?(:reason) %>
|
||||
<% if @tag_implication.respond_to?(:reason) && @tag_implication.reason.present? %>
|
||||
<li><strong>Reason</strong> <%= format_text @tag_implication.reason %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user