Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General: Fix more button in the course menu #9583

Merged
merged 9 commits into from
Nov 2, 2024
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<div class="d-flex justify-content-between horizontal-scroll">
@if (course) {
<div [ngClass]="{ 'sidebar-collapsed': isCollapsed }" *ngIf="!isLti">
<jhi-sidebar
[itemSelected]="exerciseSelected"
[courseId]="courseId"
[sidebarData]="sidebarData"
[collapseState]="DEFAULT_COLLAPSE_STATE"
[sidebarItemAlwaysShow]="DEFAULT_SHOW_ALWAYS"
[showFilter]="true"
/>
</div>
@if (!isLti) {
<div [ngClass]="{ 'sidebar-collapsed': isCollapsed }">
<jhi-sidebar
[itemSelected]="exerciseSelected"
[courseId]="courseId"
[sidebarData]="sidebarData"
[collapseState]="DEFAULT_COLLAPSE_STATE"
[sidebarItemAlwaysShow]="DEFAULT_SHOW_ALWAYS"
[showFilter]="true"
/>
</div>
}

@if (exerciseSelected) {
<div class="vw-100 module-bg rounded-3" [ngStyle]="isLti ? { height: '90vh', position: 'relative' } : {}">
Expand Down
Loading
Loading