Skip to content
Snippets Groups Projects
Commit 9be1db31 authored by Martin Mareš's avatar Martin Mareš
Browse files

Symbol k účtu pro nedoručitelný mail

parent b3eba8b8
No related branches found
No related tags found
1 merge request!138Zpracování nedoručenek
...@@ -147,6 +147,8 @@ def user_html_flags(u: db.User) -> Markup: ...@@ -147,6 +147,8 @@ def user_html_flags(u: db.User) -> Markup:
r = [] r = []
if u.is_test: if u.is_test:
r.append("<span class='user-test' title='Testovací uživatel'>*</span>") r.append("<span class='user-test' title='Testovací uživatel'>*</span>")
if u.dsn:
r.append("<span class='user-bad-email' title='E-mailová adresa nefunguje'>🖂</span>")
if u.is_inactive: if u.is_inactive:
r.append("<span class='user-inactive' title='Účet dosud nebyl aktivován'>*</span>") r.append("<span class='user-inactive' title='Účet dosud nebyl aktivován'>*</span>")
if len(r) == 0: if len(r) == 0:
......
...@@ -322,10 +322,15 @@ table.data tbody tr.job-waiting:hover { ...@@ -322,10 +322,15 @@ table.data tbody tr.job-waiting:hover {
.user-test { .user-test {
color: green; color: green;
} }
.user-inactive { .user-inactive {
color: red; color: red;
} }
.user-bad-email {
color: red;
}
/* Alerts */ /* Alerts */
/* Multiple alerts displayed in more compact way */ /* Multiple alerts displayed in more compact way */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment