diff --git a/mo/db.py b/mo/db.py
index 429a930264c8bebe47786fad93eb0185a1671cb6..b056e2f72e634757624bc2c5437f34ca323f0b4d 100644
--- a/mo/db.py
+++ b/mo/db.py
@@ -303,6 +303,9 @@ class User(Base):
     def name_sort_key(self) -> Tuple[str, str]:
         return (locale.strxfrm(self.last_name), locale.strxfrm(self.first_name))
 
+    def is_inactive(self) -> bool:
+        return self.password_hash == None
+
 
 class Contest(Base):
     __tablename__ = 'contests'
diff --git a/mo/web/jinja.py b/mo/web/jinja.py
index 59c744f19a92619545a76d29fb25d10af96c189d..760270c5308b5e93754a95261944f3686e51a463 100644
--- a/mo/web/jinja.py
+++ b/mo/web/jinja.py
@@ -13,6 +13,7 @@ import mo.util_format as util_format
 from mo.web import app
 from mo.web.org_contest import contest_breadcrumbs
 from mo.web.org_place import place_breadcrumbs
+from mo.web.util import user_table_row_title, user_table_row_class
 
 # Konfigurace Jinjy
 
@@ -22,6 +23,11 @@ app.jinja_env.trim_blocks = True
 
 # Filtry definované v mo.util_format
 
+app.jinja_env.filters.update(user_table_row_title=user_table_row_title)
+app.jinja_env.filters.update(user_table_row_class=user_table_row_class)
+
+# Filtry definované v mo.web.utils
+
 app.jinja_env.filters.update(timeformat=util_format.timeformat)
 app.jinja_env.filters.update(inflected=util_format.inflect_number)
 app.jinja_env.filters.update(inflected_by=util_format.inflect_by_number)
diff --git a/mo/web/org_contest.py b/mo/web/org_contest.py
index fdebce5c5e6dd8e9629a809fa11ceeddcc9b2876..e33255d6e3b1539b9e5888ac62ef0c990c10b375 100644
--- a/mo/web/org_contest.py
+++ b/mo/web/org_contest.py
@@ -25,11 +25,11 @@ from mo.util_format import inflect_number, inflect_by_number
 from mo.web import app
 import mo.web.util
 from mo.web.util import MODecimalField, PagerForm
+from mo.web.util import user_table_row_class, user_table_row_title
 from mo.web.table import CellCheckbox, Table, Row, Column, cell_pion_link, cell_place_link, cell_email_link
 import wtforms.validators as validators
 from wtforms.widgets.html5 import NumberInput
 
-
 class ImportForm(FlaskForm):
     file = flask_wtf.file.FileField("Soubor", render_kw={'autofocus': True})
     typ = wtforms.SelectField(
@@ -551,9 +551,8 @@ def make_contestant_table(query: Query, round: db.Round, add_checkbox: bool = Fa
         html_attr = {
             'class': 'state-' + pion.state.name
         }
-        if u.is_test:
-            html_attr['class'] += ' testuser'
-            html_attr['title'] = 'Testovací uživatel'
+        html_attr['class'] += ' ' + user_table_row_class(u)
+        html_attr['title'] = user_table_row_title(u)
         rows.append(Row(
             keys={
                 'sort_key': u.sort_key(),
diff --git a/mo/web/templates/org_contest_solutions.html b/mo/web/templates/org_contest_solutions.html
index 7bda4f7c3466e544f126108be2883da21fed8a1c..efe1a74cd900b328965f60a7d80f91852b435175 100644
--- a/mo/web/templates/org_contest_solutions.html
+++ b/mo/web/templates/org_contest_solutions.html
@@ -61,7 +61,7 @@ konkrétní úlohu. Symbol <span class="icon">🗐</span> značí, že existuje
 	</thead>
 	{% for pion in pions %}
 	{% set u = pion.user %}
-	<tr class="state-{{ pion.state.name }}{% if u.is_test %} testuser{% endif %}" {% if u.is_test %}title="Testovací uživatel"{% endif %}>
+	<tr class="state-{{ pion.state.name }} {{ user|user_table_row_class }}" title="{{ user|user_table_row_title }}">
 		<th>{{ u|pion_link(contest.contest_id) }}
 		<td>{{ pion.state.friendly_name() }}
 		{% set sum_points = [] %}
diff --git a/mo/web/templates/org_orgs.html b/mo/web/templates/org_orgs.html
index 52d30633852c2aae12252ec7e3e1667c8b00de6a..7d02f146d913abb997cf8c61a98b1225c117edcd 100644
--- a/mo/web/templates/org_orgs.html
+++ b/mo/web/templates/org_orgs.html
@@ -49,9 +49,9 @@
 		</tr>
 	</thead>
 {% for user in users %}
-	<tr>
+	<tr class="{{ user|user_table_row_class }}" title="{{ user|user_table_row_title }}">
 		<td>{{ user.first_name }}</td><td>{{ user.last_name }}</td>
-		<td>{{ user.email|mailto }}{% if user.password_hash == None %}<span class="user-inactive" title='Účet dosud nebyl aktivován'> *</span>{% endif %}</td>
+		<td>{{ user.email|mailto }}</td>
 		<td>{% if user.is_admin %}správce{% elif user.roles|count == 0 %}<i>žádná role</i>{% else %}
 			<ul>
 			{% for role in user.roles %}
diff --git a/mo/web/templates/org_users.html b/mo/web/templates/org_users.html
index df46553b9fd9b0e76fca60cbba515cf236c8c9bf..df9f4930e8edf085bfedb91c5eeeb613414d1b00 100644
--- a/mo/web/templates/org_users.html
+++ b/mo/web/templates/org_users.html
@@ -73,9 +73,9 @@
 		</tr>
 	</thead>
 {% for user in users %}
-	<tr{% if user.is_test %} class="testuser" title="Testovací uživatel"{% endif %}>
+	<tr class="{{ user|user_table_row_class }}" title="{{ user|user_table_row_title }}">
 		<td>{{ user.first_name }}</td><td>{{ user.last_name }}</td>
-		<td>{{ user.email|mailto }}{% if user.password_hash == None %}<span class="user-inactive" title='Účet dosud nebyl aktivován'> *</span>{% endif %}</td>
+		<td>{{ user.email|mailto }}</td>
 		<td>{% if user.participants|count == 0 %}<i>v žádném ročníku</i>{% else %}
 			<ul>
 			{% for participant in user.participants %}
diff --git a/mo/web/templates/parts/org_solution_table.html b/mo/web/templates/parts/org_solution_table.html
index 6223a92c5a84f2968b5c654c19302788949d248d..001b2982ee091836c6ddc08dadfa2ebee671b9b4 100644
--- a/mo/web/templates/parts/org_solution_table.html
+++ b/mo/web/templates/parts/org_solution_table.html
@@ -35,7 +35,7 @@ finální (ve výchozím stavu poslední nahrané).{% elif sc.allow_upload_solut
 	{% set u = for_user or obj.user %}
 	{% set task = for_task or obj %}
 	{% if for_task %}
-	<tr class="state-{{ obj.state.name }}{% if u.is_test %} testuser{% endif %}" {% if u.is_test %}title="Testovací uživatel"{% endif %}>
+	<tr class="state-{{ obj.state.name }} {{ user|user_table_row_class }}" title="{{ user|user_table_row_title }}">
 	{% else %}
 	<tr>
 	{% endif %}
diff --git a/mo/web/util.py b/mo/web/util.py
index 4f10a68d52fc20246453ea9ddf7b88a9f8a88ba5..c9cecb9d1255aa7d027b045d061080bf3b6e53d2 100644
--- a/mo/web/util.py
+++ b/mo/web/util.py
@@ -145,3 +145,20 @@ class MODecimalField(DecimalField):
                 d /= 10
 
         return super(MODecimalField, self)._value()
+
+
+def user_table_row_title(u: db.User) -> str:
+    r = []
+    if u.is_test:
+        r.append("Testovací uživatel")
+    if u.is_inactive():
+        r.append("Účet dosud nebyl aktivován")
+    return " | ".join(r)
+
+def user_table_row_class(u: db.User) -> str:
+    r = ["user"]
+    if u.is_test:
+        r.append("test")
+    if u.is_inactive():
+        r.append("inactive")
+    return "-".join(r)
diff --git a/static/mo.css b/static/mo.css
index 2de94b237bc204eea24c2b1fa0dd34d39cc92880..6a406cc4b20e2f151f88803a0b15e3e81dfcd166 100644
--- a/static/mo.css
+++ b/static/mo.css
@@ -114,7 +114,27 @@ table.data td.sol-warn {
 	background-color: #ffaaaa;
 }
 
-table tr.testuser {
+table.data tr.user {
+	opacity: 0.7;
+	background: repeating-linear-gradient(
+		45deg,
+		white,
+		white 10px,
+		white 10px,
+		white 20px
+	);
+}
+table.data tr.user-inactive {
+	opacity: 0.7;
+	background: repeating-linear-gradient(
+		45deg,
+		#fcc,
+		#fcc 10px,
+		white 10px,
+		white 20px
+	);
+}
+table.data tr.testuser {
 	opacity: 0.7;
 	background: repeating-linear-gradient(
 		45deg,
@@ -124,6 +144,26 @@ table tr.testuser {
 		#ddd 20px
 	);
 }
+table.data tr.user-test {
+	opacity: 0.7;
+	background: repeating-linear-gradient(
+		45deg,
+		white,
+		white 10px,
+		#ddd 10px,
+		#ddd 20px
+	);
+}
+table.data tr.user-test-inactive {
+	opacity: 0.7;
+	background: repeating-linear-gradient(
+		45deg,
+		#fcc,
+		#fcc 10px,
+		#ddd 10px,
+		#ddd 20px
+	);
+}
 table tr.state-disqualified, table tr.state-disqualified a:not(.btn) {
 	color: red;
 }
@@ -254,11 +294,6 @@ table.data tbody tr.job-failed:hover {
 	background-color: #a66;
 }
 
-/* Users */
-
-.user-inactive {
-	color: red;
-}
 
 /* Alerts */