Restore "Where am I?"
This commit is contained in:
parent
4cc2b63d5c
commit
ad6bbd511d
3 changed files with 14 additions and 0 deletions
|
@ -241,6 +241,7 @@ table {
|
|||
border-bottom: $keyline;
|
||||
|
||||
#query_wrapper {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
@ -266,6 +267,14 @@ table {
|
|||
min-width: 0;
|
||||
border-radius: 0 2px 2px 0;
|
||||
}
|
||||
|
||||
#describe_location {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
font-size: 10px;
|
||||
color: $blue;
|
||||
}
|
||||
}
|
||||
|
||||
/* Utility for de-emphasizing content */
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
<%= text_field_tag :query, params[:query],
|
||||
:placeholder => t('site.search.search'),
|
||||
:autofocus => "autofocus" %>
|
||||
<%= link_to t('site.search.where_am_i'),
|
||||
{ :controller => :geocoder, :action => :description },
|
||||
{ :id => "describe_location", :title => t('site.search.where_am_i_title') } %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
|
|
@ -1410,6 +1410,8 @@ en:
|
|||
close: Close
|
||||
search:
|
||||
search: Search
|
||||
where_am_i: "Where am I?"
|
||||
where_am_i_title: Describe the current location using the search engine
|
||||
submit_text: "Go"
|
||||
key:
|
||||
table:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue