<p>This pull request establishes a simple mechanism for moderators to hide/unhide changset tags. All tags of a changeset are hidden, or none are hidden; there is no per-tag granularity. Tags are only hidden from the web interface, and not from the API. <br>
This is meant to be used in cases where people upload data with offensive changeset comments, or where advertising is placed in the changeset comment. </p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/1167'>https://github.com/openstreetmap/openstreetmap-website/pull/1167</a></p>
<h4>Commit Summary</h4>
<ul>
<li>introduce helper function for changeset comment.</li>
<li>add user interface controls to enable the hiding and un-hiding of changeset tags.</li>
<li>improve changeset detail output when logged in as moderator</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-0">app/controllers/changeset_controller.rb</a>
(43)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-1">app/helpers/changeset_helper.rb</a>
(10)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-2">app/views/browse/_common_details.html.erb</a>
(6)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-3">app/views/browse/changeset.html.erb</a>
(17)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-4">app/views/changeset/_changeset.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-5">app/views/changeset/list.atom.builder</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-6">app/views/user/_contact.html.erb</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-7">config/locales/en.yml</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167/files#diff-8">config/routes.rb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/1167.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/1167.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/1167.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/1167.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1167">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLYGUjfbyfH0cfVOB-KwdJW8yDSFdks5povqggaJpZM4Hk1LA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/pull/1167"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>