1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 00:28:00 +02:00

switch action wording

This commit is contained in:
Tim Daubenschütz 2015-08-10 14:20:26 +02:00
parent 5be771f6ac
commit ada07e707e

View File

@ -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"