forked from EVOgeek/Vmeda.Online
		
	MOBILE-3833 module: Hide module navigation on non main pages
This commit is contained in:
		
							parent
							
								
									a17886ad53
								
							
						
					
					
						commit
						f25a51b5d1
					
				| @ -32,6 +32,6 @@ | |||||||
| 
 | 
 | ||||||
| </core-loading> | </core-loading> | ||||||
| 
 | 
 | ||||||
| <core-course-module-navigation collapsible-footer appearOnBottom [hidden]="showLoading" [courseId]="courseId" [currentModuleId]="module.id" | <core-course-module-navigation collapsible-footer appearOnBottom *ngIf="!subfolder" [hidden]="showLoading" [courseId]="courseId" | ||||||
|     (completionChanged)="onCompletionChange()"> |     [currentModuleId]="module.id" (completionChanged)="onCompletionChange()"> | ||||||
| </core-course-module-navigation> | </core-course-module-navigation> | ||||||
|  | |||||||
| @ -30,8 +30,8 @@ | |||||||
| <core-loading [hideUntil]="!showLoading"> | <core-loading [hideUntil]="!showLoading"> | ||||||
| 
 | 
 | ||||||
|     <!-- Activity info. --> |     <!-- Activity info. --> | ||||||
|     <core-course-module-info [module]="module" [description]="description" [component]="component" [componentId]="componentId" |     <core-course-module-info *ngIf="isMainPage" [module]="module" [description]="description" [component]="component" | ||||||
|         [courseId]="courseId" (completionChanged)="onCompletionChange()"> |         [componentId]="componentId" [courseId]="courseId" (completionChanged)="onCompletionChange()"> | ||||||
|     </core-course-module-info> |     </core-course-module-info> | ||||||
| 
 | 
 | ||||||
|     <div *ngIf="pageIsOffline || hasOffline || pageWarning"> |     <div *ngIf="pageIsOffline || hasOffline || pageWarning"> | ||||||
| @ -54,7 +54,7 @@ | |||||||
|             </ion-item> |             </ion-item> | ||||||
|         </ion-card> |         </ion-card> | ||||||
|     </div> |     </div> | ||||||
|     <div class="ion-padding addon-mod_wiki-page-content"> |     <div class="ion-padding-horizontal addon-mod_wiki-page-content"> | ||||||
|         <h2 *ngIf="pageTitle">{{pageTitle}}</h2> |         <h2 *ngIf="pageTitle">{{pageTitle}}</h2> | ||||||
|         <article [ngClass]="{'addon-mod_wiki-noedit': !canEdit}"> |         <article [ngClass]="{'addon-mod_wiki-noedit': !canEdit}"> | ||||||
|             <core-format-text *ngIf="pageContent" [component]="component" [componentId]="componentId" [text]="pageContent" |             <core-format-text *ngIf="pageContent" [component]="component" [componentId]="componentId" [text]="pageContent" | ||||||
| @ -71,7 +71,8 @@ | |||||||
|     </div> |     </div> | ||||||
| </core-loading> | </core-loading> | ||||||
| 
 | 
 | ||||||
| <core-course-module-navigation collapsible-footer [hidden]="showLoading" [courseId]="courseId" [currentModuleId]="module.id"> | <core-course-module-navigation collapsible-footer *ngIf="isMainPage" [hidden]="showLoading" [courseId]="courseId" | ||||||
|  |     [currentModuleId]="module.id"> | ||||||
| </core-course-module-navigation> | </core-course-module-navigation> | ||||||
| 
 | 
 | ||||||
| <ion-fab slot="fixed" core-fab vertical="bottom" horizontal="end" *ngIf="canEdit"> | <ion-fab slot="fixed" core-fab vertical="bottom" horizontal="end" *ngIf="canEdit"> | ||||||
|  | |||||||
| @ -11,7 +11,6 @@ $addon-mod-wiki-toc-level-padding:    12px !default; | |||||||
| 
 | 
 | ||||||
|     .addon-mod_wiki-page-content { |     .addon-mod_wiki-page-content { | ||||||
|         background-color: var(--ion-item-background); |         background-color: var(--ion-item-background); | ||||||
|         border-top: 1px solid var(--stroke); |  | ||||||
|         padding-bottom: 10px; |         padding-bottom: 10px; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user