1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 13:09:23 -05: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:
Panagiotis "Ivory" Vasilopoulos 2023-07-19 21:29:19 +02:00
parent 6d164246b5
commit 64de4e02f9

View file

@ -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>