From fca93f911c01e6959be4184450af3c926b051be5 Mon Sep 17 00:00:00 2001 From: Hiroki Terashima Date: Tue, 17 Oct 2023 10:46:16 -0700 Subject: [PATCH] refactor(Project Authoring): Clean up template using node-icon-and-title (#1471) --- .../project-authoring.component.html | 135 +++++++++--------- src/messages.xlf | 48 +++---- 2 files changed, 89 insertions(+), 94 deletions(-) diff --git a/src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html b/src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html index 5125b95527e..2e4c634cce3 100644 --- a/src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html +++ b/src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html @@ -106,55 +106,53 @@ > -
-
- -
- {{ getNodePositionById(item.key) }}: - {{ getNodeTitle(item.key) }} -
-

- {{ getNodePositionById(item.key) }}: {{ getNodeTitle(item.key) }} - call_split - block - block - message -

-
+
+ +

+ call_split + block + block + message +

@@ -185,13 +183,12 @@
Unused Lessons
> -
-
-   -
- {{ getNodeTitle(inactiveNode.id) }} -
-
+
+
@@ -216,13 +213,12 @@
> -
-
-   -

- {{ getNodeTitle(inactiveChildId) }} -

-
+
+
@@ -256,13 +252,12 @@
Unused Steps
> -
-
- -

- {{ getNodeTitle(inactiveNode.id) }} -

-
+
+
diff --git a/src/messages.xlf b/src/messages.xlf index ef8bd54a400..9d834e6a115 100644 --- a/src/messages.xlf +++ b/src/messages.xlf @@ -9622,7 +9622,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it. src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 164 + 162 @@ -9637,7 +9637,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it. src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 233 + 229 @@ -9652,7 +9652,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it. src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 234 + 230 @@ -12035,38 +12035,38 @@ Click "Cancel" to keep the invalid JSON open so you can fix it.30 - - Branch point with paths based on + + Branch point with paths based on src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 122,124 + 121,123 - + Constraint\n\n + getConstraintDescriptions(item.key) + }}"/> src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 132,134 + 131,133 - + Constraints\n\n + getConstraintDescriptions(item.key) + }}"/> src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 142,144 + 141,143 Has Rubric src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 151 + 150 @@ -14255,49 +14255,49 @@ Are you sure you want to proceed? Correctness column key: 0 = Incorrect, 1 = Correct, 2 = Correct bucket but wrong position src/assets/wise5/classroomMonitor/dataExport/data-export/data-export.component.ts - 136 + 138 One Workgroup Per Row src/assets/wise5/classroomMonitor/dataExport/data-export/data-export.component.ts - 159 + 161 Latest Student Work src/assets/wise5/classroomMonitor/dataExport/data-export/data-export.component.ts - 161 + 163 All Student Work src/assets/wise5/classroomMonitor/dataExport/data-export/data-export.component.ts - 163 + 165 Events src/assets/wise5/classroomMonitor/dataExport/data-export/data-export.component.ts - 165 + 167 Raw Data src/assets/wise5/classroomMonitor/dataExport/data-export/data-export.component.ts - 167 + 169 Downloading Export src/assets/wise5/classroomMonitor/dataExport/data-export/data-export.component.ts - 2213 + 2220