Skip to content

Commit

Permalink
Enable subject image invert in FEM Lab, linting (#6153)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbouslog authored Jun 28, 2022
1 parent e83dd4e commit 230cce8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/pages/lab-fem/workflow.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ EditWorkflowPage = createReactClass
<div>
<AutoSave resource={@props.workflow}>
<span className="form-label">Gravity Spy Gold Standard</span><br />
<small className="form-help">Notify a user how they've classified a Gold Standard subject.</small>
<small className="form-help">Notify a user how they&apos;ve classified a Gold Standard subject.</small>
<br />
<label>
<input type="checkbox" onChange={@handleSetGravitySpyGoldStandard} checked={@props.workflow.configuration.gravity_spy_gold_standard}/>
Expand Down Expand Up @@ -464,7 +464,7 @@ EditWorkflowPage = createReactClass

</div>}

<div className="unsupported">
<div>
<AutoSave tag="label" resource={@props.workflow}>
<input type="checkbox" name="invert_subject" checked={@props.workflow.configuration.invert_subject} onChange={@handleSetInvert} />
Allow Users To Flip Image Color
Expand All @@ -481,7 +481,7 @@ EditWorkflowPage = createReactClass
<small className="form-help">How many people should classify each subject before it is “done”? Once a subject has reached the retirement limit it will no longer be shown to any volunteers.</small>
<br />
<br />
<small className="form-help">If you'd like more complex retirement rules, please get in touch via the <a href='/about/contact'>Contact Us</a> page.</small>
<small className="form-help">If you&apos;d like more complex retirement rules, please get in touch via the <a href='/about/contact'>Contact Us</a> page.</small>
</p>

<hr />
Expand Down
4 changes: 2 additions & 2 deletions app/pages/lab/workflow.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ EditWorkflowPage = createReactClass
<div>
<AutoSave resource={@props.workflow}>
<span className="form-label">Gravity Spy Gold Standard</span><br />
<small className="form-help">Notify a user how they've classified a Gold Standard subject.</small>
<small className="form-help">Notify a user how they&apos;ve classified a Gold Standard subject.</small>
<br />
<label>
<input type="checkbox" onChange={@handleSetGravitySpyGoldStandard} checked={@props.workflow.configuration.gravity_spy_gold_standard}/>
Expand Down Expand Up @@ -462,7 +462,7 @@ EditWorkflowPage = createReactClass
<small className="form-help">How many people should classify each subject before it is “done”? Once a subject has reached the retirement limit it will no longer be shown to any volunteers.</small>
<br />
<br />
<small className="form-help">If you'd like more complex retirement rules, please get in touch via the <a href='/about/contact'>Contact Us</a> page.</small>
<small className="form-help">If you&apos;d like more complex retirement rules, please get in touch via the <a href='/about/contact'>Contact Us</a> page.</small>
</p>

<hr />
Expand Down

0 comments on commit 230cce8

Please sign in to comment.