localized link to home location
This commit is contained in:
parent
0f6dda6050
commit
1f007b289c
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
<% else %>
|
||||
<% content_for :greeting do %>
|
||||
<% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %>
|
||||
<%= link_to_function 'home', "setPosition(#{@user.home_lat}, #{@user.home_lon}, 10)" %> |
|
||||
<%= link_to_function t('layouts.home'), "setPosition(#{@user.home_lat}, #{@user.home_lon}, 10)", { :title => t('layouts.home_tooltip') } %> |
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue