topic headers on resultnoresults
This commit is contained in:
parent
b3d321c7e9
commit
a05fe70eda
1 changed files with 3 additions and 3 deletions
|
@ -481,7 +481,7 @@ Metamaps.GlobalUI.Search = {
|
||||||
display: function(s) { return s.label; },
|
display: function(s) { return s.label; },
|
||||||
templates: {
|
templates: {
|
||||||
notFound: function(s) {
|
notFound: function(s) {
|
||||||
return Hogan.compile($('#topicSearchTemplate').html()).render({
|
return Hogan.compile(topicheader + $('#topicSearchTemplate').html()).render({
|
||||||
value: "No results",
|
value: "No results",
|
||||||
label: "No results",
|
label: "No results",
|
||||||
typeImageURL: "<%= asset_path('icons/wildcard.png') %>",
|
typeImageURL: "<%= asset_path('icons/wildcard.png') %>",
|
||||||
|
@ -515,7 +515,7 @@ Metamaps.GlobalUI.Search = {
|
||||||
display: function(s) { return s.label; },
|
display: function(s) { return s.label; },
|
||||||
templates: {
|
templates: {
|
||||||
notFound: function(s) {
|
notFound: function(s) {
|
||||||
return Hogan.compile($('#mapSearchTemplate').html()).render({
|
return Hogan.compile(mapheader + $('#mapSearchTemplate').html()).render({
|
||||||
value: "No results",
|
value: "No results",
|
||||||
label: "No results",
|
label: "No results",
|
||||||
rtype: "noresult"
|
rtype: "noresult"
|
||||||
|
@ -548,7 +548,7 @@ Metamaps.GlobalUI.Search = {
|
||||||
display: function(s) { return s.label; },
|
display: function(s) { return s.label; },
|
||||||
templates: {
|
templates: {
|
||||||
notFound: function(s) {
|
notFound: function(s) {
|
||||||
return Hogan.compile($('#mapperSearchTemplate').html()).render({
|
return Hogan.compile(mapperheader + $('#mapperSearchTemplate').html()).render({
|
||||||
value: "No results",
|
value: "No results",
|
||||||
label: "No results",
|
label: "No results",
|
||||||
rtype: "noresult",
|
rtype: "noresult",
|
||||||
|
|
Loading…
Add table
Reference in a new issue