mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
1: Fix When the log is not found, the prompt is English.
2:Fix When clicking the Refresh Log button is invalid. Set search box to null invalid bug Signed-off-by: 耐小心 <qiqizjl@qq.com>
This commit is contained in:
parent
9d78038940
commit
fc6259e793
@ -25,7 +25,7 @@
|
||||
<clr-dg-column [clrDgField]="'repo_tag'">{{'AUDIT_LOG.TAGS' | translate}}</clr-dg-column>
|
||||
<clr-dg-column [clrDgField]="'operation'">{{'AUDIT_LOG.OPERATION' | translate}}</clr-dg-column>
|
||||
<clr-dg-column [clrDgSortBy]="opTimeComparator">{{'AUDIT_LOG.TIMESTAMP' | translate}}</clr-dg-column>
|
||||
<clr-dg-placeholder>We couldn't find any logs!</clr-dg-placeholder>
|
||||
<clr-dg-placeholder>{{ 'AUDIT_LOG.NOT_FOUND' | translate }}</clr-dg-placeholder>
|
||||
<clr-dg-row *ngFor="let l of recentLogs">
|
||||
<clr-dg-cell>{{l.username}}</clr-dg-cell>
|
||||
<clr-dg-cell>{{l.repo_name}}</clr-dg-cell>
|
||||
|
@ -67,9 +67,9 @@ export class RecentLogComponent implements OnInit {
|
||||
}
|
||||
|
||||
public doFilter(terms: string): void {
|
||||
if (!terms) {
|
||||
return;
|
||||
}
|
||||
// if (!terms) {
|
||||
// return;
|
||||
// }
|
||||
this.currentTerm = terms.trim();
|
||||
// Trigger data loading and start from first page
|
||||
this.loading = true;
|
||||
|
@ -360,7 +360,8 @@
|
||||
"ITEMS": "items",
|
||||
"FILTER_PLACEHOLDER": "Filter Logs",
|
||||
"INVALID_DATE": "Invalid date.",
|
||||
"OF": "of"
|
||||
"OF": "of",
|
||||
"NOT_FOUND": "We couldn't find any logs!"
|
||||
},
|
||||
"REPLICATION": {
|
||||
"YES": "Yes",
|
||||
|
@ -360,7 +360,8 @@
|
||||
"ITEMS": "elementos",
|
||||
"FILTER_PLACEHOLDER": "Filtrar logs",
|
||||
"INVALID_DATE": "Fecha invalida.",
|
||||
"OF": "of"
|
||||
"OF": "of",
|
||||
"NOT_FOUND": "No pudimos encontrar ningún registro!"
|
||||
},
|
||||
"REPLICATION": {
|
||||
"YES": "Yes",
|
||||
|
@ -352,7 +352,8 @@
|
||||
"ITEMS": "items",
|
||||
"FILTER_PLACEHOLDER": "Filtrer les Logs",
|
||||
"INVALID_DATE": "Date invalide.",
|
||||
"OF": "de"
|
||||
"OF": "de",
|
||||
"NOT_FOUND": "Nous n'avons trouvé aucun journal!"
|
||||
},
|
||||
"REPLICATION": {
|
||||
"YES": "Yes",
|
||||
|
@ -358,7 +358,8 @@
|
||||
"ITEMS": "itens",
|
||||
"FILTER_PLACEHOLDER": "Filtrar Logs",
|
||||
"INVALID_DATE": "Data inválida.",
|
||||
"OF": "de"
|
||||
"OF": "de",
|
||||
"NOT_FOUND": "Nós não encontramos nenhum registro!"
|
||||
},
|
||||
"REPLICATION": {
|
||||
"YES": "Yes",
|
||||
|
@ -359,7 +359,8 @@
|
||||
"ITEMS": "条记录",
|
||||
"FILTER_PLACEHOLDER": "过滤日志",
|
||||
"INVALID_DATE": "无效日期。",
|
||||
"OF": "共计"
|
||||
"OF": "共计",
|
||||
"NOT_FOUND": "未发现任何日志!"
|
||||
},
|
||||
"REPLICATION": {
|
||||
"YES": "是",
|
||||
|
Loading…
Reference in New Issue
Block a user