Add link to strain on compare route

This commit is contained in:
Matthew Dillon 2015-06-18 12:58:59 -08:00
parent 94511ba170
commit 74c61385d7
2 changed files with 6 additions and 2 deletions

View file

@ -18,7 +18,11 @@
<tr> <tr>
<th>Characteristic</th> <th>Characteristic</th>
{{#each strains as |strain|}} {{#each strains as |strain|}}
<th>{{strain.fullNameMU}}</th> <th>
{{#link-to 'strains.show' strain.id classBinding="data.typeStrain:type-strain"}}
{{strain.fullNameMU}}
{{/link-to}}
</th>
{{/each}} {{/each}}
</tr> </tr>
</thead> </thead>

View file

@ -1,6 +1,6 @@
<td> <td>
{{#link-to 'strains.show' data.id classBinding="data.typeStrain:type-strain"}} {{#link-to 'strains.show' data.id classBinding="data.typeStrain:type-strain"}}
{{{data.fullNameMU}}} {{data.fullNameMU}}
{{/link-to}} {{/link-to}}
</td> </td>
<td> <td>