Skip to content

Commit

Permalink
Remove Back to Unit List button
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokiterashima committed Oct 12, 2023
1 parent a448c51 commit 276c38c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
<div class="project-content">
<div fxLayout="row wrap" fxLayoutGap="15px">
<button
mat-raised-button
color="primary"
(click)="goBackToProjectList()"
matTooltip="Back to Unit List"
matTooltipPosition="above"
i18n-matTooltip
>
<mat-icon>arrow_back</mat-icon>
</button>
<button
mat-raised-button
color="primary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@ export class ProjectAuthoringComponent {
return this.projectService.isNodeInAnyBranchPath(nodeId);
}

protected goBackToProjectList(): void {
this.router.navigate([`/teacher/edit/home`]);
}

/**
* Temporarily highlight the new nodes to draw attention to them
* @param newNodes the new nodes to highlight
Expand Down
35 changes: 14 additions & 21 deletions src/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">62</context>
<context context-type="linenumber">52</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/components/animation/animation-authoring/animation-authoring.component.html</context>
Expand Down Expand Up @@ -1443,7 +1443,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">84</context>
<context context-type="linenumber">74</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/classroomMonitor/classroomMonitorComponents/shared/top-bar/top-bar.component.html</context>
Expand Down Expand Up @@ -5402,7 +5402,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">51</context>
<context context-type="linenumber">41</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-list/project-list.component.html</context>
Expand Down Expand Up @@ -9687,7 +9687,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">174</context>
<context context-type="linenumber">164</context>
</context-group>
</trans-unit>
<trans-unit id="a10dba8eb1f22a5f90f90e79b8305963eec3ee38" datatype="html">
Expand All @@ -9702,7 +9702,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">243</context>
<context context-type="linenumber">233</context>
</context-group>
</trans-unit>
<trans-unit id="0217500199a3e48a7b95762b14b79dad49e76beb" datatype="html">
Expand All @@ -9717,7 +9717,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">244</context>
<context context-type="linenumber">234</context>
</context-group>
</trans-unit>
<trans-unit id="f951d80b53d5536f79142285e8ba09f190a3c723" datatype="html">
Expand Down Expand Up @@ -11473,7 +11473,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">73</context>
<context context-type="linenumber">63</context>
</context-group>
</trans-unit>
<trans-unit id="90c4e4785a98ff9c710d707d8e079c584fb9af48" datatype="html">
Expand Down Expand Up @@ -12072,32 +12072,25 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
<context context-type="linenumber">234</context>
</context-group>
</trans-unit>
<trans-unit id="6fee403c0623cb110ba1a64b9ca460dd853786ff" datatype="html">
<source>Back to Unit List</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">7</context>
</context-group>
</trans-unit>
<trans-unit id="e5e0c8fd39cb0db7735731e3ae7d2108f430f16e" datatype="html">
<source>Add New Lesson</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">18</context>
<context context-type="linenumber">8</context>
</context-group>
</trans-unit>
<trans-unit id="965b71c27ad581bf0f53e7f483505d2898c98a36" datatype="html">
<source>Add New Step</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">29</context>
<context context-type="linenumber">19</context>
</context-group>
</trans-unit>
<trans-unit id="57cf305f9bfd681c70dc26e914108d06384ade9f" datatype="html">
<source>Move</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">40</context>
<context context-type="linenumber">30</context>
</context-group>
</trans-unit>
<trans-unit id="2babf1354d25bf42fc198b512e41efe699029adc" datatype="html">
Expand All @@ -12106,7 +12099,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
}}"/> paths based on <x id="INTERPOLATION_1" equiv-text="{{ getBranchCriteriaDescription(item.key) }}"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">132,134</context>
<context context-type="linenumber">122,124</context>
</context-group>
</trans-unit>
<trans-unit id="30e48681d6264197efea8455adfefd170a75e87f" datatype="html">
Expand All @@ -12115,7 +12108,7 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
}}"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">142,144</context>
<context context-type="linenumber">132,134</context>
</context-group>
</trans-unit>
<trans-unit id="352c3d81453aabe6f46a08ce422003e76f85f041" datatype="html">
Expand All @@ -12124,14 +12117,14 @@ Click &quot;Cancel&quot; to keep the invalid JSON open so you can fix it.</sourc
}}"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">152,154</context>
<context context-type="linenumber">142,144</context>
</context-group>
</trans-unit>
<trans-unit id="b3b4847175a6193afa85eb431bbe16d1f04470fa" datatype="html">
<source>Has Rubric</source>
<context-group purpose="location">
<context context-type="sourcefile">src/assets/wise5/authoringTool/project-authoring/project-authoring.component.html</context>
<context context-type="linenumber">161</context>
<context context-type="linenumber">151</context>
</context-group>
</trans-unit>
<trans-unit id="791981839110791639" datatype="html">
Expand Down

0 comments on commit 276c38c

Please sign in to comment.