Add tooltip

This commit is contained in:
Panagiotis "Ivory" Vasilopoulos 2023-07-20 20:28:33 +02:00
parent 4bbcbd37e1
commit b906008ff1
2 changed files with 2 additions and 1 deletions

View file

@ -601,6 +601,7 @@ user_bio = Biography
disabled_public_activity = This user has disabled the public visibility of the activity.
email_visibility.limited = Your email address is visible to all authenticated users
email_visibility.private = Your email address is only visible to you and administrators
redirect_to_osm = View on OpenStreetMap
form.name_reserved = The username "%s" is reserved.
form.name_pattern_not_allowed = The pattern "%s" is not allowed in a username.

View file

@ -29,7 +29,7 @@
{{.ContextUser.Location}}
{{if .EnableOSMButton}}
<a href="https://www.openstreetmap.org/search?query={{.ContextUser.Location}}" rel="nofollow noreferrer">
<i class="ui right">
<i class="ui right" data-tooltip-content="{{.locale.Tr "user.redirect_to_osm"}}">
{{svg "octicon-link-external" 18 "gt-mr-2"}}
</i>
</a>