Files
ember-panda/app/templates/project/show/-dunlop-project-info.emblem
T

49 lines
1.8 KiB
Plaintext

.ui.top.attached.two.item.stackable.tabs.menu
.item.pointable click="'set_tab' 'index'" class="{{if (eq tab 'index') 'active'}}"
a Offsets
.item.pointable click="'set_tab' 'identifiers'" class="{{if (eq tab 'identifiers') 'active'}}"
a Identifiers
if (eq tab 'index')
table.ui.bottom.attached.compact.celled.table
thead
tr
th= t 'models.workflow_group'
th= t 'models.workflow_action_definition'
th Offset
tbody
each workflow_action_definition_nodes as |workflow_action_definition_node|
tr
td= workflow_action_definition_node.record.workflow_group.name
td= workflow_action_definition_node.record.title
td= workflow_action_definition_node.absolute_value
if (eq tab 'identifiers')
table.ui.bottom.attached.compact.definition.table
thead
tr
th
th= t 'attributes.workflow_action_definition.identifier'
th= t 'attributes.workflow_action_definition.completes_group'
tbody
each model.sorted_workflow_groups as |workflow_group|
tr.active
td.collapsing= workflow_group.name
td= workflow_group.identifier
td
each workflow_group.sorted_workflow_action_definitions as |workflow_action_definition|
tr
td= workflow_action_definition.title
td= workflow_action_definition.identifier
td
if workflow_action_definition.completes_group
i.checkmark.box.icon
if model.project_scenarios.length
.ui.horizontal.divider= t 'models.plural.project_scenario'
table.ui.compact.definition.table
each model.sorted_project_scenarios as |project_scenario|
tr
td= project_scenario.name
td= project_scenario.identifier
.modal-actions.sticky
button.ui.basic.button.modal-rollback{action 'close'}= t 'general.close'