Skip to content

Commit

Permalink
Fix GBIF map links
Browse files Browse the repository at this point in the history
The page `gbif_record/` doesn't exist anymore so given that the map is at the
top of an occurrence page we'll just link to that.
  • Loading branch information
jrdh committed Dec 21, 2017
1 parent 1e00321 commit 9f1ebcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/gbif/theme/templates/record/gbif.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ <h1 class="page-heading">GBIF interpreted record</h1>

<tr>
<td><strong>Coordinates</strong></td>
<td><a href="http://www.gbif.org/gbif_record/{{ gbif_record['id'] }}#map" target="_blank" rel="nofollow">{{ gbif_record['decimallongitude'] }}, {{ gbif_record['decimallatitude'] }}</a></td>
<td><a href="http://www.gbif.org/occurrence/{{ gbif_record['id'] }}" target="_blank" rel="nofollow">{{ gbif_record['decimallongitude'] }}, {{ gbif_record['decimallatitude'] }}</a></td>
</tr>

{% endif %}
Expand Down

0 comments on commit 9f1ebcd

Please sign in to comment.