Cleaned up scientific naming.

This commit is contained in:
Matthew Dillon 2015-03-27 14:04:38 -08:00
parent d587f14af4
commit fdc29a6baa
9 changed files with 49 additions and 12 deletions

View file

@ -1,4 +1,4 @@
<h2>Hymenobacter Characteristics</h2>
<h2><em>Hymenobacter</em> Characteristics</h2>
<h3>Total characteristics: {{controller.length}}</h3>
<table class="flakes-table">

View file

@ -0,0 +1 @@
<em>{{strain.speciesName}}</em> (strain {{strain.strainName}})

View file

@ -1,17 +1,21 @@
<h2>Hymenobacter Strains</h2>
<h2><em>Hymenobacter</em> Strains</h2>
<h3>Total strains: {{controller.length}}</h3>
<table class="flakes-table">
<thead>
<tr>
<th {{action "setSortBy" "strainName"}}>Name</th>
<th {{action "setSortBy" "fullName"}}>Name</th>
<th {{action "setSortBy" "totalMeasurements"}}>Measurements</th>
</tr>
</thead>
<tbody>
{{#each strain in controller}}
<tr>
<td>{{link-to strain.strainName 'measurements' strain}}</td>
<td>
{{#link-to 'measurements' strain}}
{{scientific-name strain=strain}}
{{/link-to}}
</td>
<td>{{strain.totalMeasurements}}</td>
</tr>
{{/each}}

View file

@ -1,12 +1,12 @@
<div class="grid-1">
<div class="span-1">
<fieldset class="flakes-information-box">
<legend>{{model.strainName}}</legend>
<legend>Strain {{model.strainName}}</legend>
{{! ROW 1 }}
<div class="grid-4">
<dl class="span-2">
<dt>Species</dt>
<dd>{{model.speciesName}}</dd>
<dd><em>{{model.speciesName}}</em></dd>
</dl>
<dl class="span-2">
<dt>Type</dt>