Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(frontend): remove unnecessary `l10nTranslate` directive from badge components in multiple views
johavend38ee5a10118
diff --git a/frontend/src/app/applications/shares/components/shared.component.html b/frontend/src/app/applications/shares/components/shared.component.htmlindex 449e79f5..af412732 100644--- a/frontend/src/app/applications/shares/components/shared.component.html+++ b/frontend/src/app/applications/shares/components/shared.component.html@@ -83,9 +83,7 @@<img [src]="s.mimeUrl" [height]="galleryMode.image" [width]="galleryMode.image" alt="" draggable="true" (error)="s.fallBackMimeUrl()"><span class="label-top-right">@if (s.newly) {- <span [style.font-size.px]="galleryMode.textSize"- class="badge rounded-pill bg-warning"- l10nTranslate>{{ s.hTimeAgo }}</span>+ <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-warning">{{ s.hTimeAgo }}</span>}</span>@if (s.counts.shares) {diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.html b/frontend/src/app/applications/spaces/components/spaces-browser.component.htmlindex afe75290..5c72ffa7 100644--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.html+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.html@@ -295,7 +295,7 @@}@if (f.newly) {<span class="label-top-right">- <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-warning" l10nTranslate>{{ f.hTimeAgo }}</span>+ <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-warning">{{ f.hTimeAgo }}</span></span>}</div>diff --git a/frontend/src/app/applications/spaces/components/spaces.component.html b/frontend/src/app/applications/spaces/components/spaces.component.htmlindex c04edbdc..40a146ff 100644--- a/frontend/src/app/applications/spaces/components/spaces.component.html+++ b/frontend/src/app/applications/spaces/components/spaces.component.html@@ -90,7 +90,7 @@</fa-icon><span class="label-top-right">@if (s.newly) {- <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-warning" l10nTranslate>{{ s.hTimeAgo }}</span>+ <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-warning">{{ s.hTimeAgo }}</span>}</span>@if (s.managers.length) {diff --git a/frontend/src/app/applications/spaces/components/trash.component.html b/frontend/src/app/applications/spaces/components/trash.component.htmlindex c593552d..e9e56421 100644--- a/frontend/src/app/applications/spaces/components/trash.component.html+++ b/frontend/src/app/applications/spaces/components/trash.component.html@@ -56,7 +56,7 @@</fa-icon><span class="label-top-right">@if (t.newly) {- <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-warning" l10nTranslate>{{ t.hTimeAgo }}</span>+ <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-warning">{{ t.hTimeAgo }}</span>}</span><span class="label-bottom-right">