mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03:00
[FEAT] Add OpenStreetMap URL to Location field in profile
Not too important, but I think that it'd be a pretty neat touch.
This commit is contained in:
parent
6d164246b5
commit
64de4e02f9
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
<div class="extra content gt-word-break">
|
||||
<ul>
|
||||
{{if .ContextUser.Location}}
|
||||
<li>{{svg "octicon-location"}} {{.ContextUser.Location}}</li>
|
||||
<li>{{svg "octicon-location"}} <a href="https://www.openstreetmap.org/search?query={{.ContextUser.Location}}" rel="nofollow noreferrer">{{.ContextUser.Location}}</a></li>
|
||||
{{end}}
|
||||
{{if (eq .SignedUserID .ContextUser.ID)}}
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue