Merge pull request #2867 from dpalou/MOBILE-3320

Mobile 3320
main
Pau Ferrer Ocaña 2021-07-02 16:07:15 +02:00 committed by GitHub
commit 9913a89dbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 9 deletions

View File

@ -28,12 +28,12 @@
<core-format-text [text]="entry.subject" [contextLevel]="contextLevel" <core-format-text [text]="entry.subject" [contextLevel]="contextLevel"
[contextInstanceId]="contextInstanceId"> [contextInstanceId]="contextInstanceId">
</core-format-text> </core-format-text>
<ion-note class="ion-float-end ion-padding-left ion-text-end"> <ion-note class="ion-float-end ion-padding-start ion-text-end">
{{ 'addon.blog.' + entry.publishTranslated! | translate}} {{ 'addon.blog.' + entry.publishTranslated! | translate}}
</ion-note> </ion-note>
</p> </p>
<p> <p>
<ion-note class="ion-float-end ion-padding-left ion-text-end"> <ion-note class="ion-float-end ion-padding-start ion-text-end">
{{entry.created | coreDateDayOrTime}} {{entry.created | coreDateDayOrTime}}
</ion-note> </ion-note>
{{entry.user && entry.user!.fullname}} {{entry.user && entry.user!.fullname}}

View File

@ -15,7 +15,7 @@
[attr.aria-current]="selected == chapter.id ? 'page' : 'false'" button [attr.aria-current]="selected == chapter.id ? 'page' : 'false'" button
[class.item-dimmed]="chapter.hidden" detail="false"> [class.item-dimmed]="chapter.hidden" detail="false">
<ion-label> <ion-label>
<p [class.ion-padding-left]="addPadding && chapter.level == 1 ? true : null" class="item-heading"> <p [class.ion-padding-start]="addPadding && chapter.level == 1 ? true : null" class="item-heading">
<span *ngIf="showNumbers" class="addon-mod-book-number">{{chapter.indexNumber}}&nbsp;</span> <span *ngIf="showNumbers" class="addon-mod-book-number">{{chapter.indexNumber}}&nbsp;</span>
<span *ngIf="showBullets" class="addon-mod-book-bullet">&bull;&nbsp;</span> <span *ngIf="showBullets" class="addon-mod-book-bullet">&bull;&nbsp;</span>
<core-format-text [text]="chapter.title" contextLevel="module" [contextInstanceId]="moduleId" <core-format-text [text]="chapter.title" contextLevel="module" [contextInstanceId]="moduleId"

View File

@ -17,7 +17,7 @@
</core-format-text> </core-format-text>
</h2> </h2>
<ion-note *ngIf="trackPosts && post.unread" <ion-note *ngIf="trackPosts && post.unread"
class="ion-float-end ion-padding-left ion-text-end" [attr.aria-label]="'addon.mod_forum.unread' | translate"> class="ion-float-end ion-padding-start ion-text-end" [attr.aria-label]="'addon.mod_forum.unread' | translate">
<ion-icon name="fas-circle" color="primary" aria-hidden="true"></ion-icon> <ion-icon name="fas-circle" color="primary" aria-hidden="true"></ion-icon>
</ion-note> </ion-note>
<ion-button *ngIf="optionsMenuEnabled" <ion-button *ngIf="optionsMenuEnabled"
@ -45,7 +45,7 @@
</div> </div>
<ng-container *ngIf="!displaySubject"> <ng-container *ngIf="!displaySubject">
<ion-note *ngIf="trackPosts && post.unread" <ion-note *ngIf="trackPosts && post.unread"
class="ion-float-end ion-padding-left ion-text-end" [attr.aria-label]="'addon.mod_forum.unread' | translate"> class="ion-float-end ion-padding-start ion-text-end" [attr.aria-label]="'addon.mod_forum.unread' | translate">
<ion-icon name="fas-circle" color="primary" aria-hidden="true"></ion-icon> <ion-icon name="fas-circle" color="primary" aria-hidden="true"></ion-icon>
</ion-note> </ion-note>
<ion-button *ngIf="optionsMenuEnabled" <ion-button *ngIf="optionsMenuEnabled"

View File

@ -129,7 +129,7 @@
(onPostChange)="postListChanged()"> (onPostChange)="postListChanged()">
</addon-mod-forum-post> </addon-mod-forum-post>
</ion-card> </ion-card>
<div class="ion-padding-left" *ngIf="post.children.length && post.children[0].subject"> <div class="ion-padding-start" *ngIf="post.children && post.children.length && post.children[0].subject">
<ng-container *ngFor="let child of post.children"> <ng-container *ngFor="let child of post.children">
<ng-container *ngTemplateOutlet="nestedPosts; context: {post: child}"></ng-container> <ng-container *ngTemplateOutlet="nestedPosts; context: {post: child}"></ng-container>
</ng-container> </ng-container>

View File

@ -15,7 +15,7 @@
[attr.aria-current]="selected == item.href ? 'page' : 'false'" button detail="false"> [attr.aria-current]="selected == item.href ? 'page' : 'false'" button detail="false">
<ion-label [class.core-bold]="!item.href"> <ion-label [class.core-bold]="!item.href">
<p class="item-heading"> <p class="item-heading">
<span class="ion-padding-left" *ngFor="let i of getNumberForPadding(item.level)"></span> <span class="ion-padding-start" *ngFor="let i of getNumberForPadding(item.level)"></span>
{{item.title}} {{item.title}}
</p> </p>
</ion-label> </ion-label>

View File

@ -38,7 +38,7 @@
<p class="item-heading">{{ notification.subject }}</p> <p class="item-heading">{{ notification.subject }}</p>
<p *ngIf="notification.userfromfullname">{{ notification.userfromfullname }}</p> <p *ngIf="notification.userfromfullname">{{ notification.userfromfullname }}</p>
</ion-label> </ion-label>
<ion-note slot="end" class="ion-float-end ion-padding-left ion-text-end"> <ion-note slot="end" class="ion-float-end ion-padding-start ion-text-end">
{{ notification.timecreated | coreDateDayOrTime }} {{ notification.timecreated | coreDateDayOrTime }}
<span *ngIf="!notification.timeread"> <span *ngIf="!notification.timeread">
<ion-icon name="fas-circle" color="primary" aria-hidden="true"></ion-icon> <ion-icon name="fas-circle" color="primary" aria-hidden="true"></ion-icon>

View File

@ -17,7 +17,7 @@
<h2>{{ rating.userfullname }}</h2> <h2>{{ rating.userfullname }}</h2>
<p>{{ rating.rating }}</p> <p>{{ rating.rating }}</p>
</ion-label> </ion-label>
<ion-note slot="end" class="ion-padding-left" *ngIf="rating.timemodified"> <ion-note slot="end" class="ion-padding-start" *ngIf="rating.timemodified">
{{ rating.timemodified | coreDateDayOrTime }} {{ rating.timemodified | coreDateDayOrTime }}
</ion-note> </ion-note>
</ion-item> </ion-item>