From fcbcc3ed8cf28638dab1e1f1ee286b07c5cd64a0 Mon Sep 17 00:00:00 2001 From: Hiroki Terashima Date: Mon, 16 Oct 2023 14:31:07 -0700 Subject: [PATCH] refactor(Project Authoring): Clean up template using node-icon-and-title --- .../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 de15efaf2fc..0e056777ea3 100644 --- a/src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html +++ b/src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html @@ -127,55 +127,53 @@ > -
-
- -
- {{ getNodePositionById(item.key) }}: - {{ getNodeTitle(item.key) }} -
-

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

-
+
+ +

+ call_split + block + block + message +

@@ -206,13 +204,12 @@
Unused Lessons
> -
-
-   -
- {{ getNodeTitle(inactiveNode.id) }} -
-
+
+
@@ -237,13 +234,12 @@
> -
-
-   -

- {{ getNodeTitle(inactiveChildId) }} -

-
+
+
@@ -277,13 +273,12 @@
Unused Steps
> -
-
- -

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

-
+
+
diff --git a/src/messages.xlf b/src/messages.xlf index f511823709a..f5b7f91e408 100644 --- a/src/messages.xlf +++ b/src/messages.xlf @@ -9681,7 +9681,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it. src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 185 + 183 @@ -9696,7 +9696,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it. src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 254 + 250 @@ -9711,7 +9711,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it. src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 255 + 251 @@ -12101,38 +12101,38 @@ Click "Cancel" to keep the invalid JSON open so you can fix it.51 - - Branch point with paths based on + + Branch point with paths based on src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 143,145 + 142,144 - + Constraint\n\n + getConstraintDescriptions(item.key) + }}"/> src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 153,155 + 152,154 - + Constraints\n\n + getConstraintDescriptions(item.key) + }}"/> src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 163,165 + 162,164 Has Rubric src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html - 172 + 171 @@ -14406,49 +14406,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