import React from 'react'; import Category from 'misago/components/threads-list/thread/category'; // jshint ignore:line export default class extends React.Component { getPath() { let top = this.props.categories[this.props.thread.top_category]; let bottom = this.props.categories[this.props.thread.category]; if (top && bottom && top.id !== bottom.id) { /* jshint ignore:start */ return
  • ; /* jshint ignore:end */ } else if (top) { /* jshint ignore:start */ return
  • ; /* jshint ignore:end */ } else { return null; } } getRepliesCount() { /* jshint ignore:start */ return
  • forum {this.props.thread.replies}
  • ; /* jshint ignore:end */ } getLastReply() { /* jshint ignore:start */ return
  • schedule {this.props.thread.last_post_on.fromNow()}
  • ; /* jshint ignore:end */ } render () { /* jshint ignore:start */ return ; /* jshint ignore:end */ } }