[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">
|
<div class="extra content gt-word-break">
|
||||||
<ul>
|
<ul>
|
||||||
{{if .ContextUser.Location}}
|
{{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}}
|
{{end}}
|
||||||
{{if (eq .SignedUserID .ContextUser.ID)}}
|
{{if (eq .SignedUserID .ContextUser.ID)}}
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in a new issue