mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 06:33:50 +03:00
Introduce new button for OpenStreetMap URL
This commit is contained in:
parent
56a028ec96
commit
852317b467
1 changed files with 9 additions and 1 deletions
|
@ -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