Skip to content

Commit

Permalink
added links for location privacy help page #2346 (#2360)
Browse files Browse the repository at this point in the history
* added links in appropriate places for new location privacy help page

* fixed indentations

* removed gemfile.lock put in git ignore

* fixed gemlock file

* fixed dangling <p> tag removed gemfile.lock from .gitignore [WIP] how do i remove gemfile.lock from the PR

* removed gemfile.lock from local

* changes to gemfile.lcok

* added new lines to the end of changed files
  • Loading branch information
James-N-M authored and jywarren committed Feb 20, 2018
1 parent d915de2 commit aa16871
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -401,3 +401,4 @@ DEPENDENCIES

BUNDLED WITH
1.16.1

2 changes: 1 addition & 1 deletion app/views/map/_peopleLeaflet.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<% if defined? people %>
<p><i><small>
Share your own location on <a href='/profile'>your profile</a>.
Learn about <a href='https://publiclab.org/wiki/location-privacy'>privacy</a>
</small></i></p>
<% end %>

Expand All @@ -25,4 +26,3 @@
});
}
</script>

3 changes: 2 additions & 1 deletion app/views/map/_userLeaflet.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
<div id="map_template" style="position: relative; display: inline-block;">
<img src="https://a.tiles.mapbox.com/v3/jywarren.map-lmrwb2em/0/0/0.png" style="height:300px; margin: 0; position: relative; margin-right: -10px;">
<button type='button' class='btn btn-default btn-lg' onclick='addLocation()' style="position: absolute; position: absolute;top: 41% ; left: 15% ;"> <strong> Share your Location </strong> </button>
</div>
<p><i><small>Learn about <a href='https://publiclab.org/wiki/location-privacy'>privacy</a> </small></i></p>
</div>
<script>
function addLocation() {
$('.blurred-location-input').click() ;
Expand Down

0 comments on commit aa16871

Please sign in to comment.