feat: Enhance notification template for better UX
Improved notification display to address issue of a blank box when clicking the icon. Now, a centered icon with No notification is shown for a clearer user experience. This change enhances UI clarity and user-friendliness. Fix: #2005 Implemented the translation functionality
This commit is contained in:
@@ -8,6 +8,13 @@
|
||||
|
||||
<mat-menu class="mifosx-notifications-menu" #notificationsMenu="matMenu" [overlapTrigger]="false">
|
||||
|
||||
<div *ngIf="unreadNotifications.length === 0" fxLayout="column" fxLayoutAlign="center center" style="padding: 16px;">
|
||||
<mat-icon style="font-size: 24px; opacity: 0.8;">
|
||||
<span class="material-icons">notifications</span>
|
||||
</mat-icon>
|
||||
<p>{{ 'labels.text.No notifications' | translate }}</p>
|
||||
</div>
|
||||
|
||||
<button mat-menu-item class="unread" *ngFor="let notification of unreadNotifications" [routerLink]="[routeMap[notification.objectType], notification.objectId]">
|
||||
{{ notification.content }}*<br>
|
||||
<span class="time">[{{ notification.createdAt }}]</span>
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "Nebyl nalezen žádný klient",
|
||||
"No data found": "Nenalezena žádná data",
|
||||
"No loan locked available": "Žádná půjčka není k dispozici.",
|
||||
"No notifications": "Žádné oznámení",
|
||||
"No pending loan available for disbursal": "Není k dispozici žádná nevyřízená půjčka k vyplacení.",
|
||||
"No pending loans for approval": "Žádné půjčky čekající na schválení.",
|
||||
"No pending rescheduled loan available for this account": "Pro tento účet není k dispozici žádná nevyřízená půjčka s novým termínem splatnosti.",
|
||||
|
||||
@@ -2556,6 +2556,7 @@
|
||||
"No client was found": "Es wurde kein Kunde gefunden",
|
||||
"No data found": "Keine Daten gefunden",
|
||||
"No loan locked available": "Kein gesperrter Kredit verfügbar.",
|
||||
"No notifications": "Keine benachrichtigungen",
|
||||
"No pending loan available for disbursal": "Kein ausstehendes Darlehen zur Auszahlung verfügbar.",
|
||||
"No pending loans for approval": "Keine ausstehenden Kredite zur Genehmigung.",
|
||||
"No pending rescheduled loan available for this account": "Für dieses Konto ist kein ausstehendes Umschuldungsdarlehen verfügbar.",
|
||||
|
||||
@@ -2556,6 +2556,7 @@
|
||||
"No client was found": "No client was found",
|
||||
"No data found": "No data found",
|
||||
"No loan locked available": "No loan locked available.",
|
||||
"No notifications": "No notifications",
|
||||
"No pending loan available for disbursal": "No pending loan available for disbursal.",
|
||||
"No pending loans for approval": "No pending loans for approval.",
|
||||
"No pending rescheduled loan available for this account": "No pending rescheduled loan available for this account.",
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "No se encontró ningún cliente",
|
||||
"No data found": "Datos no encontrados",
|
||||
"No loan locked available": "No hay Crédito bloqueado disponible.",
|
||||
"No notifications": "Sin notificaciones",
|
||||
"No pending loan available for disbursal": "No hay Crédito pendiente disponible para desembolso.",
|
||||
"No pending loans for approval": "No hay Créditos pendientes de aprobación.",
|
||||
"No pending rescheduled loan available for this account": "No hay ningún Crédito reprogramado pendiente disponible para esta cuenta.",
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "Aucun client n'a été trouvé",
|
||||
"No data found": "Aucune donnée disponible",
|
||||
"No loan locked available": "Aucun prêt bloqué disponible.",
|
||||
"No notifications": "Pas de notifications",
|
||||
"No pending loan available for disbursal": "Aucun prêt en attente disponible pour décaissement.",
|
||||
"No pending loans for approval": "Aucun prêt en attente d'approbation.",
|
||||
"No pending rescheduled loan available for this account": "Aucun prêt rééchelonné en attente disponible pour ce compte.",
|
||||
|
||||
@@ -2558,6 +2558,7 @@
|
||||
"No data found": "Nessun dato trovato",
|
||||
"No loan locked available": "Nessun prestito bloccato disponibile.",
|
||||
"No pending loan available for disbursal": "Nessun prestito pendente disponibile per l'erogazione.",
|
||||
"No notifications": "Nessuna notifica",
|
||||
"No pending loans for approval": "Nessun prestito in attesa di approvazione.",
|
||||
"No pending rescheduled loan available for this account": "Nessun prestito riprogrammato in sospeso disponibile per questo account.",
|
||||
"No repayments and disbursal": "Non sono disponibili rimborsi ed esborsi per il cliente selezionato e la data della riunione",
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "클라이언트를 찾을 수 없습니다.",
|
||||
"No data found": "데이터가 없습니다",
|
||||
"No loan locked available": "잠긴 대출이 없습니다.",
|
||||
"No notifications": "알림 없음",
|
||||
"No pending loan available for disbursal": "지급 가능한 보류 중인 대출이 없습니다.",
|
||||
"No pending loans for approval": "승인을 위해 보류 중인 대출이 없습니다.",
|
||||
"No pending rescheduled loan available for this account": "이 계좌에는 보류 중인 재예약 대출이 없습니다.",
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "Klientas nerastas",
|
||||
"No data found": "Duomenų nerasta",
|
||||
"No loan locked available": "Nėra užblokuotos paskolos.",
|
||||
"No notifications": "Nėra pranešimų",
|
||||
"No pending loan available for disbursal": "Nėra laukiamos paskolos, kurią būtų galima išmokėti.",
|
||||
"No pending loans for approval": "Nėra laukiančių patvirtinti paskolų.",
|
||||
"No pending rescheduled loan available for this account": "Šioje paskyroje nėra laukiamos perkeltos paskolos.",
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "Klients netika atrasts",
|
||||
"No data found": "Dati nav atrasti",
|
||||
"No loan locked available": "Nav pieejams bloķēts aizdevums.",
|
||||
"No notifications": "Nav paziņojumu",
|
||||
"No pending loan available for disbursal": "Nav pieejams neizmaksāts aizdevums.",
|
||||
"No pending loans for approval": "Nav vēl neapstiprinātu aizdevumu apstiprināšanai.",
|
||||
"No pending rescheduled loan available for this account": "Šim kontam nav pieejams neviens neapstiprināts pārplānots aizdevums.",
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "कुनै ग्राहक भेटिएन",
|
||||
"No data found": "कुनै डाटा फेला परेन",
|
||||
"No loan locked available": "कुनै ऋण उपलब्ध छैन।",
|
||||
"No notifications": "कुनै सूचना छैन",
|
||||
"No pending loan available for disbursal": "वितरणको लागि कुनै पेन्डिङ ऋण उपलब्ध छैन।",
|
||||
"No pending loans for approval": "स्वीकृतिको लागि कुनै पेन्डिङ ऋण छैन।",
|
||||
"No pending rescheduled loan available for this account": "यस खाताको लागि कुनै पेन्डिङ पुन: निर्धारित ऋण उपलब्ध छैन।",
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "Nenhum cliente foi encontrado",
|
||||
"No data found": "Nenhum dado encontrado",
|
||||
"No loan locked available": "Nenhum empréstimo bloqueado disponível.",
|
||||
"No notifications": "Sem notificações",
|
||||
"No pending loan available for disbursal": "Nenhum empréstimo pendente disponível para desembolso.",
|
||||
"No pending loans for approval": "Não há empréstimos pendentes para aprovação.",
|
||||
"No pending rescheduled loan available for this account": "Nenhum empréstimo reescalonado pendente disponível para esta conta.",
|
||||
|
||||
@@ -2557,6 +2557,7 @@
|
||||
"No client was found": "Hakuna mteja aliyepatikana",
|
||||
"No data found": "Hakuna data iliyopatikana",
|
||||
"No loan locked available": "Hakuna mkopo uliofungwa unaopatikana.",
|
||||
"No notifications": "Hakuna arifa",
|
||||
"No pending loan available for disbursal": "Hakuna mkopo unaosubiri kulipwa.",
|
||||
"No pending loans for approval": "Hakuna mikopo inayosubiri kupitishwa.",
|
||||
"No pending rescheduled loan available for this account": "Hakuna mkopo unaosubiri kuratibiwa tena unaopatikana kwa akaunti hii.",
|
||||
|
||||
Reference in New Issue
Block a user