ENH: Simple collection details (#27)
This commit is contained in:
parent
578b8daa32
commit
09a62cf165
14 changed files with 60 additions and 29 deletions
18
app/components/collection-detail-container.js
Normal file
18
app/components/collection-detail-container.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
import Ember from 'ember';
|
||||
|
||||
const { Component } = Ember;
|
||||
|
||||
export default Component.extend({
|
||||
// ARGS
|
||||
model: null,
|
||||
|
||||
columns: [
|
||||
{ label: 'Project', valuePath: 'project.name', },
|
||||
{ label: 'Study Location', valuePath: 'studyLocation.code', },
|
||||
{ label: 'Method', valuePath: 'collectionMethod.code', },
|
||||
{ label: 'Type', valuePath: 'collectionType.name', },
|
||||
{ label: '# of Traps', valuePath: 'numberOfTraps', },
|
||||
{ label: 'Start', valuePath: 'startDateTime', },
|
||||
{ label: 'End', valuePath: 'endDateTime', },
|
||||
],
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue