-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1626 from Vizzuality/feature/indepth-button-map
Feature/indepth button map
- Loading branch information
Showing
6 changed files
with
74 additions
and
25 deletions.
There are no files selected for viewing
11 changes: 8 additions & 3 deletions
11
app/assets/javascripts/map/templates/tabs/countriesButtons.handlebars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
{{!-- <ul class="button-container one"> | ||
<li><button id="countries-analyze-button" class="btn green uppercase">Analyze</button></li> | ||
</ul> --}} | ||
|
||
<ul class="button-container"> | ||
<li><a class="btn gray uppercase little" target="_blank" href="http://data.globalforestwatch.org/datasets?q={{iso}}">Country data</a></li> | ||
<li><a class="btn gray uppercase little" href="/country/{{iso}}">Country profile</a></li> | ||
</ul> | ||
{{#if country}} | ||
{{#if country.indepth}} | ||
<ul class="button-container one"> | ||
<li><a href="{{country.indepth}}" target="_blank" id="countries-analyze-button" class="btn green lines uppercase"><span>Forest atlas</span></a></li> | ||
</ul> | ||
{{/if}} | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.