mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
switch action wording
This commit is contained in:
parent
5be771f6ac
commit
ada07e707e
@ -93,7 +93,7 @@ let RequestActionForm = React.createClass({
|
||||
<Form
|
||||
url={urls.accept}
|
||||
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}
|
||||
className='inline pull-right'>
|
||||
<button
|
||||
@ -118,7 +118,7 @@ let RequestActionForm = React.createClass({
|
||||
url={urls.deny}
|
||||
isInline={true}
|
||||
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'>
|
||||
<button
|
||||
type="submit"
|
||||
|
Loading…
Reference in New Issue
Block a user