Don't display empty changeset comments
See systemed/iD#1360. We will also change iD to omit empty comments.
This commit is contained in:
parent
8cef78f341
commit
32959aed76
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
<p><%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %></p>
|
<p><%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if common_details.changeset.tags['comment'] %>
|
<% if common_details.changeset.tags['comment'].present? %>
|
||||||
<div>
|
<div>
|
||||||
<h4><%= t 'browse.common_details.changeset_comment' %></h4>
|
<h4><%= t 'browse.common_details.changeset_comment' %></h4>
|
||||||
<p><%= linkify(h(common_details.changeset.tags['comment'])) %></p>
|
<p><%= linkify(h(common_details.changeset.tags['comment'])) %></p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue