Skip to content
Snippets Groups Projects

Editace emailu + zvací emaily

Merged Jiří Setnička requested to merge jirka/maily into devel
All threads resolved!
6 files
+ 83
32
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -15,20 +15,27 @@
@@ -15,20 +15,27 @@
<tr><td>Poznámka:<td style="white-space: pre;">{{ user.note }}
<tr><td>Poznámka:<td style="white-space: pre;">{{ user.note }}
</table>
</table>
{% if can_edit %}
<div class="btn-group" role="group">
<div class="btn-group" role="group">
 
{% if can_edit %}
<a class="btn btn-primary" href="{{ url_for('org_org_edit', id=user.user_id) }}">Editovat</a>
<a class="btn btn-primary" href="{{ url_for('org_org_edit', id=user.user_id) }}">Editovat</a>
 
{% endif %}
 
{% if resend_invite_form %}
 
<form method=POST class='btn-group' onsubmit='return confirm("Poslat organizátorovi e-mail s odkazem na vytvoření hesla?");'>
 
{{ resend_invite_form.csrf_token }}
 
<button class="btn btn-default" type='submit' name='resend_invite'>
 
{% if user.last_login_at %}Resetovat heslo{% else %}Znovu poslat zvací e-mail{% endif %}
 
</button>
 
</form>
 
{% endif %}
{% if g.user.is_admin %}
{% if g.user.is_admin %}
<a class="btn btn-default" href="{{ log_url('user', user.user_id) }}">Historie</a>
<a class="btn btn-default" href="{{ log_url('user', user.user_id) }}">Historie</a>
{% endif %}
{% endif %}
</div>
{% endif %}
{% if can_incarnate %}
{% if can_incarnate %}
<form action="{{ url_for('incarnate', id=user.user_id) }}" method=POST class='btn-group'>
<form action="{{ url_for('incarnate', id=user.user_id) }}" method=POST class='btn-group'>
<button class="btn btn-default" type='Submit'>Převtělit se</button>
<button class="btn btn-default" type='Submit'>Převtělit se</button>
</form>
</form>
{% endif %}
{% endif %}
 
</div>
{% if user.is_org or user.is_admin %}
{% if user.is_org or user.is_admin %}
<h3>Role</h3>
<h3>Role</h3>
Loading