Add strain notes
This commit is contained in:
parent
d3ff53da62
commit
96def1539b
3 changed files with 13 additions and 1 deletions
|
@ -9,6 +9,7 @@ export default DS.Model.extend({
|
|||
accessionBanks: DS.attr('string'),
|
||||
genbankEmblDdb: DS.attr('string'),
|
||||
isolatedFrom: DS.attr('string'),
|
||||
notes: DS.attr('string'),
|
||||
createdAt: DS.attr('date'),
|
||||
updatedAt: DS.attr('date'),
|
||||
deletedAt: DS.attr('date'),
|
||||
|
|
|
@ -32,6 +32,13 @@
|
|||
</dl>
|
||||
</div>
|
||||
{{! ROW 4 }}
|
||||
<div class="grid-4">
|
||||
<dl class="span-4">
|
||||
<dt>Notes</dt>
|
||||
<dd>{{model.notes}}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
{{! ROW 5 }}
|
||||
<div class="grid-4">
|
||||
<dl class="span-1">
|
||||
<dt>Record Created</dt>
|
||||
|
@ -48,7 +55,7 @@
|
|||
<dl class="span-1"></dl>
|
||||
</div>
|
||||
{{#if (can "edit strain" model)}}
|
||||
{{! ROW 5 }}
|
||||
{{! ROW 6 }}
|
||||
<div class="grid-4">
|
||||
<div class="span-1">
|
||||
{{! Does nothing ATM }}
|
||||
|
|
|
@ -17,6 +17,7 @@ module.exports = function(app) {
|
|||
updatedAt: "0001-01-01T00:00:00Z",
|
||||
deletedAt: null,
|
||||
author: 1,
|
||||
notes: "Test notes",
|
||||
totalMeasurements: 5,
|
||||
},
|
||||
{
|
||||
|
@ -32,6 +33,7 @@ module.exports = function(app) {
|
|||
createdAt: "0001-01-01T00:00:00Z",
|
||||
updatedAt: "0001-01-01T00:00:00Z",
|
||||
deletedAt: null,
|
||||
notes: "Test notes",
|
||||
author: 3,
|
||||
totalMeasurements: 5,
|
||||
},
|
||||
|
@ -47,6 +49,7 @@ module.exports = function(app) {
|
|||
measurements: [],
|
||||
createdAt: "0001-01-01T00:00:00Z",
|
||||
updatedAt: "0001-01-01T00:00:00Z",
|
||||
notes: "Test notes",
|
||||
deletedAt: null,
|
||||
author: 1,
|
||||
totalMeasurements: 0,
|
||||
|
@ -62,6 +65,7 @@ module.exports = function(app) {
|
|||
isolatedFrom: "Location 2",
|
||||
measurements: [],
|
||||
createdAt: "0001-01-01T00:00:00Z",
|
||||
notes: "Test notes",
|
||||
updatedAt: "0001-01-01T00:00:00Z",
|
||||
deletedAt: null,
|
||||
author: 3,
|
||||
|
|
Reference in a new issue