Commit b33d0894 authored by Marko Kuder's avatar Marko Kuder
Browse files

update user pages: mark deleted users + typo fix

parent b0021c11
......@@ -42,8 +42,9 @@
</thead>
<tbody>
{% for u in c.page.items %}
{% if u.state != 'deleted' or h.is_sysadmin() %}
<tr>
<td><a href="/data/user/{{u.name}}">{{u.display_name}}</a></td>
<td><a href="/data/user/{{u.name}}">{{u.display_name}}{% if u.state == 'deleted'%} (izbrisan){% endif %}</a></td>
<td>{{u.email}}</td>
<td>{{u.number_administered_packages()}}</td>
<td>{{u.number_of_edits()}}</td>
......@@ -57,6 +58,7 @@
</td>
<td>{{h.render_datetime(u.created, date_format="%d-%m-%Y")}}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
......
......@@ -50,7 +50,7 @@
<div class="tabs-content">
<hr>
<h5>Spremeni lastnika zbirk ({{ c.user_dict['number_administered_packages'] }})</h5>
<p>Opozorilo: Ob spremembi lastnika zbirk, se prepričajte, da je član organizacije, za katero je zbirka shranjena. V nasprotnem primeru nlastnik ne bo mogel urejati zbirke, kljub temu da jo bo lahko videl v svojem uredništvu.</p>
<p>Opozorilo: Ob spremembi lastnika zbirk se prepričajte, da je član organizacije, kateri pripadajo zbirke. V nasprotnem primeru lastnik ne bo mogel urejati zbirke, kljub temu da jo bo lahko videl v svojem uredništvu.</p>
<div class="well">
<span>
<input class="autocomplete-creator" id="creator_user_id_chooser" name="creator_user_id_chooser" value="">
......
......@@ -47,7 +47,7 @@ Variables set in the controller (and has not changed in master as of 16/11/2015)
<tr>
<td class="boxed whitebox">
<h2>
<span>{{ c.user_dict['fullname'] or c.user_dict['name'] }}</span>
<span>{{ c.user_dict['fullname'] or c.user_dict['name'] }}{% if c.user_dict['state'] == 'deleted' %} (IZBRISAN UPORABNIK){% endif %}</span>
</h2>
<dl class="vcard">
<dt>ID</dt>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment