MOBILE-4270 calendar: Show offline message bellow the title
This commit is contained in:
		
							parent
							
								
									ac92ed0c17
								
							
						
					
					
						commit
						4ab33b8784
					
				| @ -31,14 +31,6 @@ | ||||
|         <ion-refresher-content pullingText="{{ 'core.pulltorefresh' | translate }}"></ion-refresher-content> | ||||
|     </ion-refresher> | ||||
|     <core-loading [hideUntil]="eventLoaded"> | ||||
|         <!-- There is data to be synchronized --> | ||||
|         <ion-card class="core-warning-card" *ngIf="hasOffline || (event && event.deleted)"> | ||||
|             <ion-item> | ||||
|                 <ion-icon name="fas-triangle-exclamation" slot="start" aria-hidden="true"></ion-icon> | ||||
|                 <ion-label>{{ 'core.hasdatatosync' | translate:{$a: 'addon.calendar.calendarevent' | translate} }}</ion-label> | ||||
|             </ion-item> | ||||
|         </ion-card> | ||||
| 
 | ||||
|         <ion-list *ngIf="event"> | ||||
|             <ion-item class="ion-text-wrap addon-calendar-event" collapsible [ngClass]="['addon-calendar-eventtype-'+event.eventtype]"> | ||||
|                 <core-mod-icon *ngIf="event.moduleIcon" [modicon]="event.moduleIcon" [showAlt]="false" [modname]="event.modulename" | ||||
| @ -58,6 +50,13 @@ | ||||
|                     </h1> | ||||
|                 </ion-label> | ||||
|             </ion-item> | ||||
|             <!-- There is data to be synchronized --> | ||||
|             <ion-card class="core-warning-card" *ngIf="hasOffline || event.deleted"> | ||||
|                 <ion-item> | ||||
|                     <ion-icon name="fas-triangle-exclamation" slot="start" aria-hidden="true"></ion-icon> | ||||
|                     <ion-label>{{ 'core.hasdatatosync' | translate:{$a: 'addon.calendar.calendarevent' | translate} }}</ion-label> | ||||
|                 </ion-item> | ||||
|             </ion-card> | ||||
|             <ion-item class="ion-text-wrap"> | ||||
|                 <ion-label> | ||||
|                     <p class="item-heading">{{ 'addon.calendar.when' | translate }}</p> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user