1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

add call to action on empty piece list

This commit is contained in:
Tim Daubenschütz 2015-06-30 16:58:26 +02:00
parent 2a5bd9173e
commit a8120867b9
2 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,10 @@ let AccordionList = React.createClass({
);
} else if(this.props.itemList.length === 0) {
return (
<p className="text-center">You don't have any works yet...</p>
<div>
<p className="text-center">You don't have any works yet...</p>
<p className="text-center">To register one, click <a href="register_piece">here</a>!</p>
</div>
);
} else {
return (

View File

@ -2,7 +2,6 @@
import React from 'react';
import { getCookie } from '../utils/fetch_api_utils';
import AppConstants from '../constants/application_constants';
import Router from 'react-router';