mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 09:54:24 +01:00
Introduce new button for OpenStreetMap URL
This commit is contained in:
parent
56a028ec96
commit
852317b467
|
@ -24,7 +24,15 @@
|
|||
<div class="extra content gt-word-break">
|
||||
<ul>
|
||||
{{if .ContextUser.Location}}
|
||||
<li>{{svg "octicon-location"}} <a href="https://www.openstreetmap.org/search?query={{.ContextUser.Location}}" rel="nofollow noreferrer">{{.ContextUser.Location}}</a></li>
|
||||
<li>
|
||||
{{svg "octicon-location"}}
|
||||
{{.ContextUser.Location}}
|
||||
<a href="https://www.openstreetmap.org/search?query={{.ContextUser.Location | Safe}}" rel="nofollow noreferrer">
|
||||
<i class="ui right">
|
||||
{{svg "octicon-link-external"}}
|
||||
</i>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
{{if (eq .SignedUserID .ContextUser.ID)}}
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue