mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
switch action wording
This commit is contained in:
parent
5be771f6ac
commit
ada07e707e
@ -93,7 +93,7 @@ let RequestActionForm = React.createClass({
|
|||||||
<Form
|
<Form
|
||||||
url={urls.accept}
|
url={urls.accept}
|
||||||
getFormData={this.getFormData}
|
getFormData={this.getFormData}
|
||||||
handleSuccess={this.showNotification(getLangText('denied'), edition.request_action, edition.owner)}
|
handleSuccess={this.showNotification(getLangText('accepted'), edition.request_action, edition.owner)}
|
||||||
isInline={true}
|
isInline={true}
|
||||||
className='inline pull-right'>
|
className='inline pull-right'>
|
||||||
<button
|
<button
|
||||||
@ -118,7 +118,7 @@ let RequestActionForm = React.createClass({
|
|||||||
url={urls.deny}
|
url={urls.deny}
|
||||||
isInline={true}
|
isInline={true}
|
||||||
getFormData={this.getFormData}
|
getFormData={this.getFormData}
|
||||||
handleSuccess={this.showNotification(getLangText('accepted'), edition.request_action, edition.owner)}
|
handleSuccess={this.showNotification(getLangText('denied'), edition.request_action, edition.owner)}
|
||||||
className='inline pull-right'>
|
className='inline pull-right'>
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user