-
mark_email_unread
+
{{ EMAIL_UNREAD_ICON }}
Code eingeben
@@ -123,7 +123,7 @@
class="expiry"
[class.expiry--expired]="codeExpiresIn === 0"
aria-live="polite">
- timer
+ {{ TIMER_ICON }}
@if (codeExpiresIn > 0) {
Code läuft in {{ formatCountdown() }} ab.
} @else {
diff --git a/webapp/src/app/modules/app-login/app-login.component.ts b/webapp/src/app/modules/app-login/app-login.component.ts
index fe894887..73d4da38 100644
--- a/webapp/src/app/modules/app-login/app-login.component.ts
+++ b/webapp/src/app/modules/app-login/app-login.component.ts
@@ -15,6 +15,12 @@ import { finalize, Subscription } from 'rxjs';
import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';
import { Router, RouterLink } from '@angular/router';
import { HttpErrorResponse } from '@angular/common/http';
+import {
+ EMAIL_UNREAD_ICON,
+ TIMER_ICON,
+ VISIBILITY_ICON,
+ VISIBILITY_OFF_ICON,
+} from '../../shared/ui/icons';
type LoginStep = 'credentials' | 'otk';
@@ -35,6 +41,11 @@ type LoginStep = 'credentials' | 'otk';
standalone: true,
})
export class AppLoginComponent implements OnDestroy {
+ readonly EMAIL_UNREAD_ICON = EMAIL_UNREAD_ICON;
+ readonly TIMER_ICON = TIMER_ICON;
+ readonly VISIBILITY_ICON = VISIBILITY_ICON;
+ readonly VISIBILITY_OFF_ICON = VISIBILITY_OFF_ICON;
+
credentialsForm = new FormGroup({
email: new FormControl('', [Validators.required, Validators.email]),
password: new FormControl('', [
diff --git a/webapp/src/app/modules/bookmarks/bookmarks.component.html b/webapp/src/app/modules/bookmarks/bookmarks.component.html
index 756e6203..3e246ee7 100644
--- a/webapp/src/app/modules/bookmarks/bookmarks.component.html
+++ b/webapp/src/app/modules/bookmarks/bookmarks.component.html
@@ -6,7 +6,7 @@
Gespeicherte Personen für den schnellen Zugriff.
- bookmarks
+ {{ BOOKMARKS_ICON }}
{{ persons().length }}
Personen
@@ -15,7 +15,7 @@
@if (loading()) {
} @else if (persons().length) {
@@ -30,7 +30,7 @@
} @else {
- bookmark_border
+ {{ BOOKMARK_BORDER_ICON }}
Noch keine Bookmarks
Speichere Personen über das Bookmark-Symbol auf einer Personenkarte.
diff --git a/webapp/src/app/modules/bookmarks/bookmarks.component.ts b/webapp/src/app/modules/bookmarks/bookmarks.component.ts
index 2192e77b..1d8744f0 100644
--- a/webapp/src/app/modules/bookmarks/bookmarks.component.ts
+++ b/webapp/src/app/modules/bookmarks/bookmarks.component.ts
@@ -8,6 +8,7 @@ import { CustomAuthor, PersonsService } from '../../api';
import { BookmarkService } from '../../shared/services/bookmark.service';
import { PersonCardComponent } from '../person-card/person-card.component';
import { LoadingComponent } from '../../shared/ui/loading/loading.component';
+import { BOOKMARKS_ICON, BOOKMARK_BORDER_ICON } from '../../shared/ui/icons';
const PERSON_INCLUDE_TAGS =
'display_name,works_count,cited_by_count,summary_stats,ids,' +
@@ -22,6 +23,9 @@ const PERSON_INCLUDE_TAGS =
styleUrl: './bookmarks.component.scss',
})
export class BookmarksComponent {
+ readonly BOOKMARKS_ICON = BOOKMARKS_ICON;
+ readonly BOOKMARK_BORDER_ICON = BOOKMARK_BORDER_ICON;
+
readonly bookmarkService = inject(BookmarkService);
private readonly personsService = inject(PersonsService);
private readonly destroyRef = inject(DestroyRef);
diff --git a/webapp/src/app/modules/compare-authors/author-research-profile/author-research-profile.component.html b/webapp/src/app/modules/compare-authors/author-research-profile/author-research-profile.component.html
index b7f8cf28..7ecf688f 100644
--- a/webapp/src/app/modules/compare-authors/author-research-profile/author-research-profile.component.html
+++ b/webapp/src/app/modules/compare-authors/author-research-profile/author-research-profile.component.html
@@ -1,7 +1,7 @@
@if (visible()) {