Skip to content

Commit

Permalink
fix more menu and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rabeatwork committed Nov 4, 2024
1 parent d6fd7c7 commit 747478d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main/webapp/app/overview/course-overview.component.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- @if can't be used for isShownViaLti as it removes the element from the DOM, disrupting dropdown stability for the More-Menu. -->
<div class="sidebar-wrapper" [ngClass]="{ 'd-none': isShownViaLti }">
<div class="vw-100 bg-body">
<mat-sidenav-container
Expand Down Expand Up @@ -165,7 +166,7 @@
<div id="manage-button">
<a
class="btn btn-sm btn-outline-secondary"
[ngClass]="{ 'd-none d-sm-inline': pageTitle === 'communication' }"
[ngClass]="{ 'd-none d-sm-block': pageTitle === 'communication' }"
[routerLink]="['/course-management', course.id]"
jhiTranslate="artemisApp.courseOverview.manage"
></a>
Expand All @@ -191,7 +192,7 @@
<ng-container class="d-flex ms-auto" #controlsViewContainer />
}
<!-- Check for !isLTI to render the router outlet only once and avoid side effects on route updates. -->
@if (!isLti) {
@if (!isShownViaLti) {
<ng-template *ngTemplateOutlet="routerOutlet" />
}
</div>
Expand All @@ -205,7 +206,7 @@
<ng-container class="d-flex ms-auto" #controlsViewContainer />
}
<!-- Check isLTI to render the router outlet only once and avoid side effects on route updates. -->
@if (isLti) {
@if (isShownViaLti) {
<ng-template *ngTemplateOutlet="routerOutlet" />
}
</div>
Expand Down

0 comments on commit 747478d

Please sign in to comment.