d-breadcrumbs as |breadcrumb|
  breadcrumb.item
    = link-to 'tracker-subject.index': span= t 'models.plural.tracker_subject'
  breadcrumb.item
    span= t 'models.tracker_subject'
    span : 
    = link-to 'tracker-subject.show' model
      = model.name
  breadcrumb.item active=true
    span Tracking connections
.ui.container
  .ui.header
    .ui.right.floated.icon.buttons= push-action type='edit' action='editTrackerSubject' model=model
    h2
      span.resource-descriptor= t 'models.tracker_subject'
      span.resource-name= model.name

  each grouped_tracker_groups as |tracker_group_group|
    .row: .span-12.columns
      h3= link-to 'tracker-subject.show.tracker-group' model.id tracker_group_group.model.id: span= tracker_group_group.model.name
      ul
        each tracker_group_group.projects as |project|
          li
            /= link-to 'tracker-subject.project' model.id project.model.id: span= project.model.name
            /= link-to 'project/tracker-subject' project.model.id model.id: span= project.model.name
            = link-to 'tracker-subject.show.project' model.id project.model.id: span= project.model.name
            ul
              each project.workflow_groups as |workflow_group|
                li= workflow_group.name
    /each tracker_group_group.workflow_groups as |workflow_group|
      .row: .span-12.columns: h4= tracker_group_group.model.name
      .row
        .small-6.columns= workflow_group.project.name
        .small-6.columns= workflow_group.name
/= svg_content
/pre.hide= graph_content
