Skip to content

Commit

Permalink
Merge branch 'master' into feature_relatedID
Browse files Browse the repository at this point in the history
  • Loading branch information
kjgarza authored Mar 26, 2020
2 parents 7d87680 + 9a3b7c1 commit 5043ba9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default Model.extend({
meta: attr(),

name: attr('string'),
givenNames: attr('string'),
givenName: attr('string'),
familyName: attr('string'),
createdAt: attr('date'),
updatedAt: attr('date'),
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/user-list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<h5>ORCID</h5>
<a href="{{user.orcid}}">{{user.orcid}}</a>

{{#if user.givenNames}}
{{#if user.givenName}}
<h5>Given Name</h5>
{{user.givenNames}}
{{user.givenName}}
{{/if}}

{{#if user.familyName}}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/user-show.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<h5>ORCID ID</h5>
<a href="{{model.orcid}}">{{model.orcid}}</a>

{{#if model.givenNames}}
{{#if model.givenName}}
<h5>Given Name</h5>
{{model.givenNames}}
{{model.givenName}}
{{/if}}

{{#if model.familyName}}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bracco",
"version": "3.5.14",
"version": "3.6.0",
"private": true,
"description": "Fabrica",
"repository": {
Expand Down

0 comments on commit 5043ba9

Please sign in to comment.