     else
       <a href="#" className="HomeAppView--button primary" onClick={onAddToSidebar}>ADD TO SIDEBAR</a>
 
+
+  getStackUnreadCount: ->
+
+    @props.stack?.getIn [ '_revisionStatus', 'status', 'code' ]
+
+
+  renderUnreadCount: ->
+
+    return null  unless @getStackUnreadCount()
+
+    <UnreadCount
+      count={@getStackUnreadCount()}
+      onClick={@bound 'handleUnreadCountClick'} />
 
   render: ->
 

_ = require 'lodash'
React = require 'kd-react'
TimeAgo = require 'app/components/common/timeago'

module.exports = class StackTemplateItem extends React.Component


        onClick={onOpen}>
        { makeTitle { template, stack } }
      </a>
      {@renderUnreadCount()}
      <div className='HomeAppViewListItem-description'>
        Last updated <TimeAgo from={template.getIn ['meta', 'modifiedAt']} />
      </div>
