diff --git a/mo/web/templates/base.html b/mo/web/templates/base.html
index 7bb2f850a23d47e0a53333d33e2cc2141b46b508..69152be238f3515aca2f0222bce115de8a2e6af1 100644
--- a/mo/web/templates/base.html
+++ b/mo/web/templates/base.html
@@ -3,7 +3,7 @@
<head>
<title>Odevzdávací systém MO</title>
<link rel=stylesheet href="{{ url_for('static', filename='bootstrap.min.css') }}" type='text/css' media=all>
- <link rel=stylesheet href="{{ url_for('static', filename='mo.css') }}?v=4" type='text/css' media=all>
+ <link rel=stylesheet href="{{ url_for('static', filename='mo.css') }}?v=5" type='text/css' media=all>
{% block head %}{% endblock %}
</head>
<body>
diff --git a/mo/web/templates/org_orgs.html b/mo/web/templates/org_orgs.html
index 09e524308c878bedbf3dc911ebb35e7bd3045df1..e4e20f74b9e83f4358b2a115a322e6e94a1e82c7 100644
--- a/mo/web/templates/org_orgs.html
+++ b/mo/web/templates/org_orgs.html
@@ -46,7 +46,7 @@
{% for user in users %}
<tr>
<td>{{ user.first_name }}</td><td>{{ user.last_name }}</td>
- <td><a href="mailto:{{ user.email }}">{{ user.email }}</a></td>
+ <td><a href="mailto:{{ user.email }}">{{ user.email }}</a>{% if user.password_hash == None %}<span class="user-inactive" title='Účet dosud nebyl aktivován'> *</span>{% endif %}</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 c1ff6c00a2104e4acaf6b09fba70dce3e312ddfa..e62052afcbd6de6ff3b7ef52341032b2baca06b6 100644
--- a/mo/web/templates/org_users.html
+++ b/mo/web/templates/org_users.html
@@ -72,7 +72,7 @@
{% for user in users %}
<tr>
<td>{{ user.first_name }}</td><td>{{ user.last_name }}</td>
- <td><a href="mailto:{{ user.email }}">{{ user.email }}</a></td>
+ <td><a href="mailto:{{ user.email }}">{{ user.email }}</a>{% if user.password_hash == None %}<span class="user-inactive" title='Účet dosud nebyl aktivován'> *</span>{% endif %}</td>
<td><div class='btn-group'>
<a class="btn btn-xs btn-default" href="{{ url_for('org_user', id=user.user_id) }}">Detail</a>
{% if can_edit %}
diff --git a/static/mo.css b/static/mo.css
index 422daf27c033ad596c58a49af509323a75accffd..1f353cb46a1d2501e846a0c366ad66f538dee033 100644
--- a/static/mo.css
+++ b/static/mo.css
@@ -186,3 +186,9 @@ table.data tbody tr.job-failed {
table.data tbody tr.job-failed:hover {
background-color: #a66;
}
+
+/* Users */
+
+.user-inactive {
+ color: red;
+}