[#-- ${(shfrmPriorityActions[${priorityAction_index}].shfrmSubActions)![]} --]
[#if priorityAction.shfrmSubActions?has_content]
-
+
[@customForm.select name="" label="" i18nkey="project.activities.deliverableSelect" listName="shfrmPriorityActions[${priorityAction_index}].shfrmSubActions" keyFieldName="id" displayFieldName="name" multiple=false required=true className=" deliverableList" disabled=!editable/]
diff --git a/marlo-web/src/main/webapp/crp/css/projects/projectDeliverable.css b/marlo-web/src/main/webapp/crp/css/projects/projectDeliverable.css
index 10f7bf6ddb..f4a58a92b2 100644
--- a/marlo-web/src/main/webapp/crp/css/projects/projectDeliverable.css
+++ b/marlo-web/src/main/webapp/crp/css/projects/projectDeliverable.css
@@ -27,6 +27,9 @@ body .WOS_tag p{
margin: 0px;
width: 350px;
}
+.hideSelect{
+ display: none;
+}
.loading-WOS-container{
display: flex;
align-items: center;
diff --git a/marlo-web/src/main/webapp/crp/js/projects/deliverables/deliverableShfrm.js b/marlo-web/src/main/webapp/crp/js/projects/deliverables/deliverableShfrm.js
index f88ba358e0..db5e0c046a 100644
--- a/marlo-web/src/main/webapp/crp/js/projects/deliverables/deliverableShfrm.js
+++ b/marlo-web/src/main/webapp/crp/js/projects/deliverables/deliverableShfrm.js
@@ -631,6 +631,7 @@ function addPartnerEvent(e) {
function cloneSubActionSelect(value) {
var $select = $(`#subactionSelect-${value}`).find('.baseselect').clone(true);
+ $select.removeClass('hideSelect');
return $select;
}
From e43106c7891bcf6df19e592ef671b519b3f5dcac Mon Sep 17 00:00:00 2001
From: Kenji Tanaka
Date: Thu, 15 Feb 2024 15:24:36 -0500
Subject: [PATCH 2/3] :art: style(shfrm Contribution): Update labels in
deliverables section
---
marlo-web/src/main/resources/custom/aicrra.properties | 2 +-
.../main/webapp/WEB-INF/global/macros/deliverableMacros.ftl | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/marlo-web/src/main/resources/custom/aicrra.properties b/marlo-web/src/main/resources/custom/aicrra.properties
index fe9cb07312..cc1e886ca6 100644
--- a/marlo-web/src/main/resources/custom/aicrra.properties
+++ b/marlo-web/src/main/resources/custom/aicrra.properties
@@ -1917,7 +1917,7 @@ shfrmManagement.priorityActions.set=Set the control list for Priority Actions:
shfrmManagement.priorityActions.title=Title
shfrmManagement.priorityActions.description=Description
shfrmManagement.priorityActions.add=Add new priority action
-shfrmManagement.subActions.add=Add new sub-action
+shfrmManagement.subActions.add=Add new sub-action(s)
shfrmManagement.subActions.title=Title
shfrmManagement.subActions.description=Description
shfrmManagement.deliverables.info=See {0} deliverables attached
diff --git a/marlo-web/src/main/webapp/WEB-INF/global/macros/deliverableMacros.ftl b/marlo-web/src/main/webapp/WEB-INF/global/macros/deliverableMacros.ftl
index 7cf85bad92..b42ee3e2d8 100644
--- a/marlo-web/src/main/webapp/WEB-INF/global/macros/deliverableMacros.ftl
+++ b/marlo-web/src/main/webapp/WEB-INF/global/macros/deliverableMacros.ftl
@@ -1580,7 +1580,7 @@
[#-- ${(shfrmPriorityActions[${priorityAction_index}].shfrmSubActions)![]} --]
[#if priorityAction.shfrmSubActions?has_content]
- [@customForm.select name="" label="" i18nkey="project.activities.deliverableSelect" listName="shfrmPriorityActions[${priorityAction_index}].shfrmSubActions" keyFieldName="id" displayFieldName="name" multiple=false required=true className=" deliverableList" disabled=!editable/]
+ [@customForm.select name="" label="" i18nkey="deliverable.shfrmContribution.priorityAction.help" listName="shfrmPriorityActions[${priorityAction_index}].shfrmSubActions" keyFieldName="id" displayFieldName="name" multiple=false required=true className=" deliverableList" disabled=!editable/]
[/#if]
@@ -1625,11 +1625,11 @@
[#if editable]
[#--[@s.text name="shfrmManagement.subActions.add" /] [@customForm.req required=false /]
--]
- [@customForm.select name="" label="" help="deliverable.shfrmContribution.subAction.help" helpIcon=false i18nkey="shfrmManagement.subActions.add" listName="${name}.shfrmPriorityAction.shfrmSubActions" keyFieldName="id" displayFieldName="composedName" multiple=false required=true className=" deliverableList" disabled=!editable/]
+ [@customForm.select name="" label="" help="" helpIcon=false i18nkey="deliverable.shfrmContribution.subAction.help" listName="${name}.shfrmPriorityAction.shfrmSubActions" keyFieldName="id" displayFieldName="composedName" multiple=false required=true className=" deliverableList" disabled=!editable/]
[/#if]
-