Rename genbank and accession

This commit is contained in:
Matthew Dillon 2015-04-24 08:24:07 -08:00
parent 96def1539b
commit 3de9794106
3 changed files with 17 additions and 21 deletions

View file

@ -6,8 +6,8 @@ export default DS.Model.extend({
speciesName: DS.attr('string'),
strainName: DS.attr('string'),
typeStrain: DS.attr('boolean'),
accessionBanks: DS.attr('string'),
genbankEmblDdb: DS.attr('string'),
accessionNumbers: DS.attr('string'),
genbank: DS.attr('string'),
isolatedFrom: DS.attr('string'),
notes: DS.attr('string'),
createdAt: DS.attr('date'),

View file

@ -16,12 +16,12 @@
{{! ROW 2 }}
<div class="grid-4">
<dl class="span-2">
<dt>Accession Banks</dt>
<dd>{{model.accessionBanks}}</dd>
<dt>Accession Numbers</dt>
<dd>{{model.accessionNumbers}}</dd>
</dl>
<dl class="span-2">
<dt>Genbank</dt>
<dd>{{model.genbankEmblDdb}}</dd>
<dd>{{model.genbank}}</dd>
</dl>
</div>
{{! ROW 3 }}

View file

@ -8,68 +8,64 @@ module.exports = function(app) {
speciesName: "Species One",
strainName: "ABC",
typeStrain: true,
etymology: "Test Etymology",
accessionBanks: "Test Accession",
genbankEmblDdb: "Test Genbank",
accessionNumbers: "Test Accession",
genbank: "Test Genbank",
isolatedFrom: "Location 1",
measurements: [1,2,3,4,5],
createdAt: "0001-01-01T00:00:00Z",
updatedAt: "0001-01-01T00:00:00Z",
deletedAt: null,
author: 1,
notes: "Test notes",
totalMeasurements: 5,
notes: "Test notes",
},
{
id: 2,
speciesName: "Species Two",
strainName: "XYZ",
typeStrain: false,
etymology: "Test Etymology",
accessionBanks: "Test Accession",
genbankEmblDdb: "Test Genbank",
accessionNumbers: "Test Accession",
genbank: "Test Genbank",
isolatedFrom: "Location 2",
measurements: [6,7,8,9,10],
createdAt: "0001-01-01T00:00:00Z",
updatedAt: "0001-01-01T00:00:00Z",
deletedAt: null,
notes: "Test notes",
author: 3,
totalMeasurements: 5,
notes: "Test notes",
},
{
id: 3,
speciesName: "Species Three",
strainName: "QRS",
typeStrain: true,
etymology: "Test Etymology",
accessionBanks: "Test Accession",
genbankEmblDdb: "Test Genbank",
accessionNumbers: "Test Accession",
genbank: "Test Genbank",
isolatedFrom: "Location 1",
measurements: [],
createdAt: "0001-01-01T00:00:00Z",
updatedAt: "0001-01-01T00:00:00Z",
notes: "Test notes",
deletedAt: null,
author: 1,
totalMeasurements: 0,
notes: "Test notes",
},
{
id: 4,
speciesName: "Species Four",
strainName: "LMN",
typeStrain: true,
etymology: "Test Etymology",
accessionBanks: "Test Accession",
genbankEmblDdb: "Test Genbank",
accessionNumbers: "Test Accession",
genbank: "Test Genbank",
isolatedFrom: "Location 2",
measurements: [],
createdAt: "0001-01-01T00:00:00Z",
notes: "Test notes",
updatedAt: "0001-01-01T00:00:00Z",
deletedAt: null,
author: 3,
totalMeasurements: 0,
notes: "Test notes",
}
];