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 }), measurements: DS.hasMany('measurements', { async: true }),
speciesName: DS.attr('string'), speciesName: DS.attr('string'),
strainName: DS.attr('string'), strainName: DS.attr('string'),
strainType: DS.attr('string'), typeStrain: DS.attr('boolean'),
etymology: DS.attr('string'), etymology: DS.attr('string'),
accessionBanks: DS.attr('string'), accessionBanks: DS.attr('string'),
genbankEmblDdb: DS.attr('string'), genbankEmblDdb: DS.attr('string'),

View file

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

View file

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