From 559a7df8fd2e498c1d93f7905b61453ef73b0558 Mon Sep 17 00:00:00 2001 From: amontenegro Date: Mon, 18 Dec 2023 11:36:24 -0600 Subject: [PATCH] Remove old togglz from FTL --- .../admin-actions-ng2-template.ftl | 154 +++++++++--------- .../freemarker/layout/public-layout.ftl | 110 +++++-------- 2 files changed, 114 insertions(+), 150 deletions(-) diff --git a/orcid-web/src/main/resources/freemarker/includes/ng2_templates/admin-actions-ng2-template.ftl b/orcid-web/src/main/resources/freemarker/includes/ng2_templates/admin-actions-ng2-template.ftl index b199a1afa57..4451e34baf7 100644 --- a/orcid-web/src/main/resources/freemarker/includes/ng2_templates/admin-actions-ng2-template.ftl +++ b/orcid-web/src/main/resources/freemarker/includes/ng2_templates/admin-actions-ng2-template.ftl @@ -536,92 +536,84 @@ -<@orcid.checkFeatureStatus featureName='UPGRADE_PUBLIC_CLIENT'> -
-

- <@orcid.msg 'admin.convert_client.title' /> - <@orcid.msg 'admin.convert_client.title' /> -

-
-
-
- <@spring.message "admin.convert_client.client_not_found"/> -
-
- <@spring.message "admin.convert_client.group_id_not_found"/> -
-
- <@spring.message "admin.convert_client.group_id.invalid"/> -
-
- <@spring.message "admin.convert_client.already_member"/> -
-
-
- - -
-
- - -
-
- <@orcid.msg 'admin.convert_client.convert_button_text'/> -
-
-
- +
+

+ <@orcid.msg 'admin.convert_client.title' /> + <@orcid.msg 'admin.convert_client.title' /> +

+
+
+
+ <@spring.message "admin.convert_client.client_not_found"/> +
+
+ <@spring.message "admin.convert_client.group_id_not_found"/> +
+
+ <@spring.message "admin.convert_client.group_id.invalid"/> +
+
+ <@spring.message "admin.convert_client.already_member"/> +
+
+
+ + +
+
+ + +
+
+ <@orcid.msg 'admin.convert_client.convert_button_text'/> +
+
+
-<@orcid.checkFeatureStatus featureName='MOVE_CLIENT'> -
-

- <@orcid.msg 'admin.move_client.title' /> - <@orcid.msg 'admin.move_client.title' /> -

-
-
-
- <@spring.message "admin.convert_client.client_not_found"/> -
-
- <@spring.message "admin.convert_client.group_id_not_found"/> -
-
- <@spring.message "admin.convert_client.group_id.invalid"/> -
-
- <@spring.message "admin.convert_client.is_not_already_member"/> -
-
- <@spring.message "admin.convert_client.is_not_active"/> -
+
+

+ <@orcid.msg 'admin.move_client.title' /> + <@orcid.msg 'admin.move_client.title' /> +

+
+
+
+ <@spring.message "admin.convert_client.client_not_found"/>
-
- - -
-
- - -
-
- <@orcid.msg 'admin.move_client.confirmation.button.label'/> +
+ <@spring.message "admin.convert_client.group_id_not_found"/> +
+
+ <@spring.message "admin.convert_client.group_id.invalid"/> +
+
+ <@spring.message "admin.convert_client.is_not_already_member"/> +
+
+ <@spring.message "admin.convert_client.is_not_active"/> +
+
+ +
-
- +
+ + +
+
+ <@orcid.msg 'admin.move_client.confirmation.button.label'/> +
+
+
- -<@orcid.checkFeatureStatus featureName='UPGRADE_PUBLIC_CLIENT'> - - - - + + + + -<@orcid.checkFeatureStatus featureName='MOVE_CLIENT'> - - - - \ No newline at end of file + + + diff --git a/orcid-web/src/main/resources/freemarker/layout/public-layout.ftl b/orcid-web/src/main/resources/freemarker/layout/public-layout.ftl index 3628a8ade50..810452a5e8e 100644 --- a/orcid-web/src/main/resources/freemarker/layout/public-layout.ftl +++ b/orcid-web/src/main/resources/freemarker/layout/public-layout.ftl @@ -106,22 +106,11 @@ <#if !(RequestParameters['oauth'])??> <#include "/includes/ng2_templates/language-ng2-template.ftl"> - <@orcid.checkFeatureStatus 'ENABLE_HEADER2'> - <#include "/includes/ng2_templates/user-menu-template.ftl"> - <#include "/includes/ng2_templates/header2-ng2-template.ftl"> - - - -
style="min-height: calc(100% - 118px);" - > - <@orcid.checkFeatureStatus featureName='ENABLE_HEADER2' enabled=false> - <#include "/includes/ng2_templates/header-ng2-template.ftl"> -
- -
- -
+ <#include "/includes/ng2_templates/user-menu-template.ftl"> + <#include "/includes/ng2_templates/header2-ng2-template.ftl"> + +
+