]> git.ipfire.org Git - people/jschlag/pbs.git/blob - data/templates/user-impersonation.html
84d68a1d4dd9d7b210836cf0669657bf8b1ba55b
[people/jschlag/pbs.git] / data / templates / user-impersonation.html
1 {% extends "base.html" %}
2
3 {% block title %}{{ _("Impersonate user %s") % user.realname }}{% end block %}
4
5 {% block body %}
6 <div class="page-header">
7 <h1>{{ _("User impersonation") }}: {{ user.realname }}</h1>
8 </div>
9
10 <div class="row">
11 <div class="span2 offset2">
12 <img src="{{ user.gravatar_icon() }}" alt="{{ user.name }}" />
13 </div>
14
15 <div class="span6">
16 <p>
17 {{ _("When impersonating another user, every action you perform will be taking place as if you had logged in as the user whom will be impersonating.") }}
18 </p>
19
20 <div class="alert alert-danger">
21 <h4 class="alert-heading">{{ _("Use with caution!") }}</h4>
22 {{ _("This is a very powerful feature. You should be very careful while using it.") }}
23 </div>
24
25 <form method="POST" action="">
26 {% raw xsrf_form_html() %}
27 <input type="hidden" name="user" value="{{ user.name }}" />
28 <input class="btn btn-danger pull-right" type="submit" value="{{ _("Impersonate %s") % user.realname }}" />
29 </form>
30 </div>
31 </div>
32 {% end block %}