-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into chores/inline-ember-cli-lazyloader
- Loading branch information
Showing
41 changed files
with
820 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
class JournalSerializer < ActiveModel::Serializer | ||
attributes :id, :name, :logo_url, :paper_types, :manuscript_css | ||
attributes :id, :name, :logo_url, :paper_types, :manuscript_css, :staff_email | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import Ember from 'ember'; | ||
|
||
export function findQuestion(params, hash) { | ||
let [owner, ident] = params; | ||
|
||
let question = owner.get('nestedQuestions').findBy('ident', ident); | ||
if (hash.answer) { | ||
return question.answerForOwner(owner); | ||
} else { | ||
return question; | ||
} | ||
} | ||
|
||
export default Ember.Helper.helper(findQuestion); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 12 additions & 14 deletions
26
client/app/pods/components/binary-radio-button/template.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
<label> | ||
{{radio-button-action selection=selection | ||
name=name | ||
id=idYes | ||
value=yesValue | ||
checked=yesChecked | ||
action="selectYes" | ||
disabled=disabled}} | ||
{{radio-button selection=selection | ||
name=name | ||
id=idYes | ||
value=yesValue | ||
action=(action "selectYes") | ||
disabled=disabled}} | ||
{{yesLabel}} | ||
</label> | ||
|
||
<label> | ||
{{radio-button-action selection=selection | ||
name=name | ||
id=idNo | ||
value=noValue | ||
checked=noChecked | ||
action="selectNo" | ||
disabled=disabled}} | ||
{{radio-button selection=selection | ||
name=name | ||
id=idNo | ||
value=noValue | ||
action=(action "selectNo") | ||
disabled=disabled}} | ||
{{noLabel}} | ||
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
client/app/pods/components/nested-question-uploader/component.js
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
client/app/pods/components/nested-question-uploader/template.hbs
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
client/app/pods/components/radio-button-action/component.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.