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:
parent
2a5bd9173e
commit
a8120867b9
@ -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 (
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user