MOBILE-3320 core: Fix inline on empty box component
This commit is contained in:
		
							parent
							
								
									ef6342dfe5
								
							
						
					
					
						commit
						1f1e232f10
					
				| @ -74,7 +74,7 @@ | ||||
|     </ion-searchbar> | ||||
| 
 | ||||
|     <core-empty-box *ngIf="filteredCourses.length == 0" image="assets/img/icons/courses.svg" | ||||
|         [message]="'addon.block_myoverview.nocourses' | translate" class="core-empty-inline"> | ||||
|         [message]="'addon.block_myoverview.nocourses' | translate" inline="true"> | ||||
|     </core-empty-box> | ||||
| 
 | ||||
|     <!-- List of courses. --> | ||||
|  | ||||
| @ -54,4 +54,5 @@ | ||||
| </div> | ||||
| 
 | ||||
| <core-empty-box *ngIf="empty" image="assets/img/icons/activities.svg" [message]="'addon.block_timeline.noevents' | translate" | ||||
| [inline]="!showCourse"></core-empty-box> | ||||
|     inline="true"> | ||||
| </core-empty-box> | ||||
|  | ||||
| @ -83,7 +83,7 @@ | ||||
|                 contextLevel="module" [contextInstanceId]="module.id" [courseId]="courseId"> | ||||
|             </core-format-text> | ||||
|             <core-empty-box *ngIf="!pageContent" icon="fas-file-alt" [message]="'addon.mod_wiki.nocontent' | translate" | ||||
|                 [inline]="true"> | ||||
|                 inline="true"> | ||||
|             </core-empty-box> | ||||
|         </article> | ||||
| 
 | ||||
|  | ||||
| @ -37,7 +37,7 @@ export class CoreEmptyBoxComponent { | ||||
|      * If this has to be shown inline instead of occupying whole page. | ||||
|      * If image or icon is not supplied, it's true by default. | ||||
|      */ | ||||
|     @Input() inline?: boolean; | ||||
|     @Input() flipIconRtl?: boolean; // Whether to flip the icon in RTL. Defaults to false.
 | ||||
|     @Input() inline = false; | ||||
|     @Input() flipIconRtl = false; // Whether to flip the icon in RTL. Defaults to false.
 | ||||
| 
 | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user