diff --git a/app/templates/project/show/operate.emblem b/app/templates/project/show/operate.emblem index 5d62968..e9ceb06 100644 --- a/app/templates/project/show/operate.emblem +++ b/app/templates/project/show/operate.emblem @@ -22,6 +22,7 @@ else .ui.segment .ui.horizontal.divider= t 'project.operate.set_value_on_non_final_till_date.title' .ui.segment + span Complete action = ui-dropdown class='search selection' selected=set_value_on_non_final_till_date_action onChange=(action (mut set_value_on_non_final_till_date_action)) fullTextSearch=true as |execute mapper| .default.text= t 'action.select_model' modelPath='models.workflow_action_definition' i.dropdown.icon @@ -30,11 +31,14 @@ else each model.sorted_workflow_action_definitions as |workflow_action_definition| .item data-value='{{map-value mapper workflow_action_definition}}' = workflow_action_definition.title - .ui.small.icon.input= ui-calendar-moment type='date' momentValue=(readonly set_value_on_non_final_till_date_date) onChange=(action (mut set_value_on_non_final_till_date_date)) placeholder='X' if set_value_on_non_final_till_date_action ' span.between-brackets= set_value_on_non_final_till_date_action.identifier - ' + span  not having one of the states inquiry, rejected, completed until the action's target date + .ui.small.icon.input= ui-calendar-moment type='date' momentValue=(readonly set_value_on_non_final_till_date_date) onChange=(action (mut set_value_on_non_final_till_date_date)) placeholder='X' + ' + span whose group is already closed (newly added action to project for example) + if set_value_on_non_final_till_date_action if (eq set_value_on_non_final_till_date_action.value_type 'boolean') button.ui.secondary.button click="set_value_on_non_final_till_date" Boom! else