diff --git a/app/pods/components/full-strain-name/template.hbs b/app/pods/components/full-strain-name/template.hbs new file mode 100644 index 0000000..ecab987 --- /dev/null +++ b/app/pods/components/full-strain-name/template.hbs @@ -0,0 +1 @@ +{{strain.fullNameMU}}{{{if strain.typeStrain 'T' ''}}} diff --git a/app/pods/protected/strains/index/strain-table/template.hbs b/app/pods/protected/strains/index/strain-table/template.hbs index bb13d76..8afca9d 100644 --- a/app/pods/protected/strains/index/strain-table/template.hbs +++ b/app/pods/protected/strains/index/strain-table/template.hbs @@ -13,8 +13,8 @@ {{#each sortedStrains as |strain|}} - {{#link-to 'protected.strains.show' strain classBinding="data.typeStrain:type-strain"}} - {{strain.fullNameMU}} + {{#link-to 'protected.strains.show' strain classBinding="strain.typeStrain:type-strain"}} + {{full-strain-name strain=strain}} {{/link-to}}