diff --git a/src/components/Feed/Feed.jsx b/src/components/Feed/Feed.jsx index 1a61f8ef1..0eeb25d1f 100644 --- a/src/components/Feed/Feed.jsx +++ b/src/components/Feed/Feed.jsx @@ -3,6 +3,7 @@ import _ from 'lodash' import cn from 'classnames' import moment from 'moment' import PropTypes from 'prop-types' +import { Link } from 'react-router-dom' import FeedComments from './FeedComments' import CommentEditToggle from '../ActionCard/CommentEditToggle' import RichTextArea from '../RichTextArea/RichTextArea' @@ -106,6 +107,7 @@ class Feed extends React.Component { const self = user && user.userId === currentUser.userId const title = this.props.newTitle === null || this.props.newTitle === undefined ? this.props.title : this.props.newTitle const content = topicMessage.newContent === null || topicMessage.newContent === undefined ? topicMessage.rawContent : topicMessage.newContent + const feedLink = window.location.pathname.substr(0, window.location.pathname.indexOf('#')) + `#feed-${id}` topicHeader = (
@@ -138,7 +140,7 @@ class Feed extends React.Component {
{title}
- {moment(topicMessage.date).format('MMM D YYYY')} + {moment(topicMessage.date).format('MMM D YYYY')} {comments.length} post{comments.length !== 1 ? 's' : ''}
diff --git a/src/components/Feed/Feed.scss b/src/components/Feed/Feed.scss index ff241f535..b08f263d5 100644 --- a/src/components/Feed/Feed.scss +++ b/src/components/Feed/Feed.scss @@ -111,7 +111,7 @@ margin-top: $base-unit; white-space: nowrap; - > span + span::before { + > span::before { content: " • "; display: inline; margin: 0 2px;