Skip to content

Commit

Permalink
Add a paragraph on the rules in OSM or the lack of them
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole authored and tomhughes committed Jun 16, 2015
1 parent 876d561 commit cf8a209
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 12 deletions.
Binary file modified app/assets/images/welcome-sprite.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 40 additions & 12 deletions app/assets/images/welcome-sprite.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/common.scss
Expand Up @@ -2516,6 +2516,10 @@ input.richtext_title[type="text"] {
background-position: -300px 0;
}

.sprite.rules {
background-position: -350px 0;
}

.start-mapping {
margin: auto;
cursor: pointer;
Expand Down
6 changes: 6 additions & 0 deletions app/views/site/welcome.html.erb
Expand Up @@ -48,6 +48,12 @@
</div>
</div>

<div class='col12 clearfix icon-list'>
<h3><%= t "welcome_page.rules.title" %></h3>
<span class='sprite small term rules'></span>
<p><%= t "welcome_page.rules.paragraph_1_html" %></p>
</div>

<div class='col12 clearfix icon-list'>
<h3><%= t "welcome_page.questions.title" %></h3>
<span class='sprite small term question'></span>
Expand Down
8 changes: 8 additions & 0 deletions config/locales/en.yml
Expand Up @@ -1114,6 +1114,14 @@ en:
tag_html: |
A <strong>tag</strong> is a bit of data about a node or way, like a
restaurant's name or a road's speed limit.
rules:
title: Rules!
paragraph_1_html: |
OpenStreetMap has few formal rules but we expect all participants to collaborate
with, and communicate with, the community. If you are considering
any activities other than editing by hand, please read and follow the guidelines on
<a href='http://wiki.openstreetmap.org/wiki/Import/Guidelines'>Imports</a> and
<a href='http://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct'>Automated Edits</a>.
questions:
title: Any questions?
paragraph_1_html: |
Expand Down

0 comments on commit cf8a209

Please sign in to comment.