Customize search panel labels
This commit is contained in:
		
							parent
							
								
									43800d6dd8
								
							
						
					
					
						commit
						94511ba170
					
				
					 3 changed files with 9 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,11 @@
 | 
			
		|||
<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}}
 | 
			
		||||
  <div class="flakes-message information">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,7 @@
 | 
			
		|||
            content=species
 | 
			
		||||
            value=selectedStrains
 | 
			
		||||
            optionValuePath="id"
 | 
			
		||||
            placeholder="All strains"
 | 
			
		||||
            placeholder=strainLabel
 | 
			
		||||
          }}
 | 
			
		||||
        </li>
 | 
			
		||||
        <li>
 | 
			
		||||
| 
						 | 
				
			
			@ -21,7 +21,7 @@
 | 
			
		|||
            content=characteristicTypes
 | 
			
		||||
            value=selectedCharacteristics
 | 
			
		||||
            optionValuePath="id"
 | 
			
		||||
            placeholder="All characteristics"
 | 
			
		||||
            placeholder=charLabel
 | 
			
		||||
          }}
 | 
			
		||||
        </li>
 | 
			
		||||
        <li>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
<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="span-12">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue