mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-05 15:31:47 +01:00
fix #1287. Fix various small bugs and some small improvements
This commit is contained in:
parent
88729f57ce
commit
bd8498f39c
10 changed files with 18 additions and 40 deletions
14
app/views/integrations/search_plugin.xml.builder
Normal file
14
app/views/integrations/search_plugin.xml.builder
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
xml.instruct!
|
||||
|
||||
xml.OpenSearchDescription 'xmlns' => "http://a9.com/-/spec/opensearch/1.1/" do
|
||||
|
||||
xml.ShortName Tracks
|
||||
xml.Description t('integrations.opensearch_description')
|
||||
xml.InputEncoding 'UTF-8'
|
||||
xml.Image("data:image/x-icon;base64," + @icon_data,
|
||||
'width' => '16', 'height' => '16')
|
||||
xml.Url 'type' => 'text/html', 'method' => 'GET',
|
||||
'template' => url_for(:controller => 'search', :action => 'results',
|
||||
:only_path => false) + '?search={searchTerms}'
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue