Customize search panel labels

This commit is contained in:
Matthew Dillon 2015-06-18 12:49:26 -08:00
parent 43800d6dd8
commit 94511ba170
3 changed files with 9 additions and 4 deletions

View file

@ -1,6 +1,11 @@
<h2>{{genus-name}} - Compare Strains</h2> <h2>{{genus-name}} - Compare Strains</h2>
{{measurement-search-panel search='search'}} {{
measurement-search-panel
search='search'
strainLabel='Select one or more strains'
charLabel='Select one or more characteristics'
}}
{{#if dataEmpty}} {{#if dataEmpty}}
<div class="flakes-message information"> <div class="flakes-message information">

View file

@ -10,7 +10,7 @@
content=species content=species
value=selectedStrains value=selectedStrains
optionValuePath="id" optionValuePath="id"
placeholder="All strains" placeholder=strainLabel
}} }}
</li> </li>
<li> <li>
@ -21,7 +21,7 @@
content=characteristicTypes content=characteristicTypes
value=selectedCharacteristics value=selectedCharacteristics
optionValuePath="id" optionValuePath="id"
placeholder="All characteristics" placeholder=charLabel
}} }}
</li> </li>
<li> <li>

View file

@ -1,6 +1,6 @@
<h2>{{genus-name}} Measurements</h2> <h2>{{genus-name}} Measurements</h2>
{{measurement-search-panel search='search'}} {{measurement-search-panel search='search' strainLabel='All strains' charLabel='All characteristics'}}
<div class="grid-12 gutter-50"> <div class="grid-12 gutter-50">
<div class="span-12"> <div class="span-12">