<% var that = this; %>
<%= that.model.escape('title') %>
<% if (that.model.has('workspaceRef')) { %>
<%= that.formatter.caption(that.model.get('areaRef')) %> > <%= that.formatter.caption(that.model.get('workspaceRef')) %>
<% } %> <% if (that.model.has('parentTaskRef')) { %>
<%= that.model.get('parentTaskRef').caption %>
<% } %>
<% if (that.model.has('description') && !_.isEmpty(that.model.get('description'))) { %>
<%= that.formatter.cleanTags(that.model.get('description'), true) %>
<% } %>
<% var assignedToRefSpecified = that.model.has('assignedToRef'); %>
<%= assignedToRefSpecified ? that.formatter.caption(that.model.get('assignedToRef')) : 'Ответственный не указан' %>
<% var dueOnSpecified = that.model.has('dueOn'); %>
<%= dueOnSpecified ? that.formatter.timeOnToHuman(that.model.get('dueOn')) : 'Срок не указан' %>
<% var isActive = (that.model.get('status') === 'active'); %>
<%= that.i18n.tasks.statusValues[that.model.get('status')] %>
<% var isHighPriority = (that.model.get('priority') === 'high'); %>
<%= that.i18n.tasks.priorityValues[that.model.get('priority')] + ' приоритет' %>
<% if (that.model.has('subTasks') && that.model.get('subTasks').length > 0) { %> <% } %>