1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

replace amazon links

This commit is contained in:
Tim Daubenschütz 2015-06-16 09:59:09 +02:00
parent e2997891df
commit 1c8ac24127
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,8 @@
import React from 'react'; import React from 'react';
import AppConstants from '../../constants/application_constants';
let ButtonSubmitOrClose = React.createClass({ let ButtonSubmitOrClose = React.createClass({
propTypes: { propTypes: {
submitted: React.PropTypes.bool.isRequired, submitted: React.PropTypes.bool.isRequired,
@ -13,7 +15,7 @@ let ButtonSubmitOrClose = React.createClass({
if (this.props.submitted){ if (this.props.submitted){
return ( return (
<div className="modal-footer"> <div className="modal-footer">
<img src="img/ascribe_animated_medium.gif" /> <img src={AppConstants.baseUrl + 'static/img/ascribe_animated_medium.gif'} />
</div> </div>
); );
} }

View File

@ -7,6 +7,8 @@ import Alert from 'react-bootstrap/lib/Alert';
import apiUrls from '../../constants/api_urls'; import apiUrls from '../../constants/api_urls';
import FormMixin from '../../mixins/form_mixin'; import FormMixin from '../../mixins/form_mixin';
import AppConstants from '../../constants/application_constants';
let RequestActionForm = React.createClass({ let RequestActionForm = React.createClass({
mixins: [FormMixin], mixins: [FormMixin],
@ -62,7 +64,7 @@ let RequestActionForm = React.createClass({
if (this.state.submitted){ if (this.state.submitted){
buttons = ( buttons = (
<span> <span>
<img src="https://s3-us-west-2.amazonaws.com/ascribe0/media/thumbnails/ascribe_animated_small.gif" /> <img src={AppConstants.baseUrl + 'static/img/ascribe_animated_medium.gif'} />
</span> </span>
); );
} }