Skip to content

Commit

Permalink
Merge pull request #2238 from kobotoolbox/2179-move-buttons
Browse files Browse the repository at this point in the history
Move archive and delete buttons above iframe
  • Loading branch information
jnm authored Apr 15, 2019
2 parents 884dd2b + 74c8f31 commit 4c9ee15
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jsapp/js/components/modalForms/projectSettings.es6
Original file line number Diff line number Diff line change
Expand Up @@ -874,12 +874,6 @@ class ProjectSettings extends React.Component {
</bem.Modal__footer>
}

{this.props.context === PROJECT_SETTINGS_CONTEXTS.EXISTING && this.props.iframeUrl &&
<bem.FormView__cell m='iframe'>
<iframe src={this.props.iframeUrl} />
</bem.FormView__cell>
}

{this.props.context === PROJECT_SETTINGS_CONTEXTS.EXISTING &&
<bem.FormModal__item>
<bem.FormModal__item m='inline'>
Expand Down Expand Up @@ -921,6 +915,12 @@ class ProjectSettings extends React.Component {
</button>
</bem.FormModal__item>
}

{this.props.context === PROJECT_SETTINGS_CONTEXTS.EXISTING && this.props.iframeUrl &&
<bem.FormView__cell m='iframe'>
<iframe src={this.props.iframeUrl} />
</bem.FormView__cell>
}
</bem.FormModal__item>
</bem.FormModal__form>
);
Expand Down

0 comments on commit 4c9ee15

Please sign in to comment.