link job in list to show job view
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import React, { PropTypes } from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { PanelGroup, Thumbnail, Panel, Well } from 'react-bootstrap';
|
||||
import moment from 'moment';
|
||||
|
||||
@ -46,6 +47,7 @@ export default React.createClass({
|
||||
eventKey={ index }
|
||||
header={ header }
|
||||
key={ id }>
|
||||
<Link to={ `/jobs/${id}` }>
|
||||
<Well>
|
||||
<Thumbnail
|
||||
alt={ company + 'company logo' }
|
||||
@ -61,6 +63,7 @@ export default React.createClass({
|
||||
</Panel>
|
||||
<p>{ description }</p>
|
||||
</Well>
|
||||
</Link>
|
||||
</Panel>
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user