Skip to content

Commit

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

* Fixes publiclab#7263 At location button to dashboard sidebar

* Fixes publiclab#7263 At location button to dashboard sidebar

* Trying new code to fix issue
  • Loading branch information
imajit authored and NitinBhasneia committed Feb 5, 2020
1 parent e9e4bda commit eddb5b7
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 eddb5b7

Please sign in to comment.