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;
|
border-bottom: $keyline;
|
||||||
|
|
||||||
#query_wrapper {
|
#query_wrapper {
|
||||||
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -266,6 +267,14 @@ table {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
border-radius: 0 2px 2px 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 */
|
/* Utility for de-emphasizing content */
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
<%= text_field_tag :query, params[:query],
|
<%= text_field_tag :query, params[:query],
|
||||||
:placeholder => t('site.search.search'),
|
:placeholder => t('site.search.search'),
|
||||||
:autofocus => "autofocus" %>
|
: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>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
|
@ -1410,6 +1410,8 @@ en:
|
||||||
close: Close
|
close: Close
|
||||||
search:
|
search:
|
||||||
search: Search
|
search: Search
|
||||||
|
where_am_i: "Where am I?"
|
||||||
|
where_am_i_title: Describe the current location using the search engine
|
||||||
submit_text: "Go"
|
submit_text: "Go"
|
||||||
key:
|
key:
|
||||||
table:
|
table:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue