section.search-result-table

script(type="text/ng-template", id="search-issues")
    div.search-result-table-header
        div.row.title
            div.user-stories.width-4 Issues
            div.status.width-2 Status
            div.points.width-1 Assigned to
    div.search-result-table-body
        div.row.table-main(ng-repeat="issue in issues track by issue.id")
            div.user-stories.width-6
                div.user-story-name
                    a(href="", tg-bo-html="issue.subject")
            div.status.width-2(tg-listitem-issue-status="issue")
            div.points.width-1(tg-listitem-assignedto="issue")

script(type="text/ng-template", id="search-userstories")
    div.search-result-table-header
        div.row.title
            div.user-stories.width-4 User Stories
            div.status.width-2 Status
            div.points.width-1 Points
    div.search-result-table-body
        div.row.table-main(ng-repeat="us in userstories track by us.id")
            div.user-stories.width-4
                div.user-story-name
                    a(href="", tg-bo-html="us.subject")
            div.status.width-2(tg-listitem-us-status="us")
            div.points.width-1(tg-bo-html="us.total_points")

script(type="text/ng-template", id="search-tasks")
    div.search-result-table-header
        div.row.title
            div.user-stories.width-4 Task
            div.status.width-2 Status
            div.points.width-1 Assigned to
    div.search-result-table-body
        div.row.table-main(ng-repeat="task in tasks track by task.id")
            div.user-stories.width-4
                div.user-story-name
                    a(href="", tg-bo-html="task.subject")
            div.status.width-2(tg-listitem-task-status="task")
            div.points.width-1(tg-listitem-assignedto="task")
