1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 13:41:57 +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 <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"