Cleaning up type strain

This commit is contained in:
Matthew Dillon 2015-04-15 09:43:01 -08:00
parent 2b6d7fecbb
commit 43295ca63f
3 changed files with 7 additions and 7 deletions

View file

@ -5,7 +5,7 @@ export default DS.Model.extend({
measurements: DS.hasMany('measurements', { async: true }),
speciesName: DS.attr('string'),
strainName: DS.attr('string'),
strainType: DS.attr('string'),
typeStrain: DS.attr('boolean'),
etymology: DS.attr('string'),
accessionBanks: DS.attr('string'),
genbankEmblDdb: DS.attr('string'),

View file

@ -9,8 +9,8 @@
<dd><em>{{model.speciesName}}</em></dd>
</dl>
<dl class="span-2">
<dt>Type</dt>
<dd>{{model.strainType}}</dd>
<dt>Type Strain?</dt>
<dd>{{if model.typeStrain 'Yes' 'No'}}</dd>
</dl>
</div>
{{! ROW 2 }}

View file

@ -7,7 +7,7 @@ module.exports = function(app) {
id: 1,
speciesName: "Species One",
strainName: "ABC",
strainType: "Test Type",
typeStrain: true,
etymology: "Test Etymology",
accessionBanks: "Test Accession",
genbankEmblDdb: "Test Genbank",
@ -22,7 +22,7 @@ module.exports = function(app) {
id: 2,
speciesName: "Species Two",
strainName: "XYZ",
strainType: "Test Type",
typeStrain: false,
etymology: "Test Etymology",
accessionBanks: "Test Accession",
genbankEmblDdb: "Test Genbank",
@ -37,7 +37,7 @@ module.exports = function(app) {
id: 3,
speciesName: "Species Three",
strainName: "QRS",
strainType: "Test Type",
typeStrain: true,
etymology: "Test Etymology",
accessionBanks: "Test Accession",
genbankEmblDdb: "Test Genbank",
@ -52,7 +52,7 @@ module.exports = function(app) {
id: 4,
speciesName: "Species Four",
strainName: "LMN",
strainType: "Test Type",
typeStrain: true,
etymology: "Test Etymology",
accessionBanks: "Test Accession",
genbankEmblDdb: "Test Genbank",