localized link to home location

This commit is contained in:
Štefan Baebler 2009-08-18 18:26:01 +00:00
parent 0f6dda6050
commit 1f007b289c

View file

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