Skip to content

Commit

Permalink
Fixes #7263 At location button to dashboard sidebar (#7265)
Browse files Browse the repository at this point in the history
* Fixes #7263 At location button to dashboard sidebar

* Fixes #7263 At location button to dashboard sidebar

* Trying new code to fix issue
  • Loading branch information
imajit authored and cesswairimu committed Jan 17, 2020
1 parent 4e8ce69 commit 834fa15
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/views/sidebar/_dashboard.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@
</div>
</div>
</div>

<% if current_user %>
<div style="margin: 2.2rem 0;">
<a class="btn btn-lg btn-outline-secondary blurred-location-input" submit_to="/profile/tags/create/<%= current_user.uid %>"><i class="fa fa-map-marker" style="color:#c40;"></i> Add your location</a>
<p style="font-size: smaller; margin: 0.3rem 0;">
Add your location to see work near you<br>
<a href="https://publiclab.org/location-privacy" target="_blank">About location privacy »</a>
</p>
</div>
<% end %>

<br><br>
<ul class="nav nav-tabs">
<li class="nav-item" style="width:49%;">
<a class="nav-link active lists-tab" href="#ask-question" data-toggle="tab">
Expand Down

0 comments on commit 834fa15

Please sign in to comment.