|
0
|
1 |
{% extends "site/layout/base_text_form.html" %} |
|
|
2 |
{% load com %} |
|
|
3 |
{% load i18n %} |
|
|
4 |
|
|
|
5 |
{% block title %} |
|
|
6 |
{% blocktrans %}Add a new user{% endblocktrans %} |
|
|
7 |
{% endblock %} |
|
|
8 |
|
|
|
9 |
{% block head %} |
|
|
10 |
{% endblock %} |
|
|
11 |
|
|
|
12 |
{% block pre_form %} |
|
|
13 |
|
|
|
14 |
<script type="text/javascript"> |
|
|
15 |
<!-- |
|
|
16 |
tb_conf['current_tab'] = 'share'; |
|
|
17 |
--> |
|
|
18 |
</script> |
|
|
19 |
|
|
|
20 |
<div id="text_share" class="tab-meta"> |
|
|
21 |
|
|
|
22 |
<ul class="sub_list"> |
|
|
23 |
<li><a href="{% url text-share text.key %}">{% blocktrans %}Users' list{% endblocktrans %}</a></li> |
|
|
24 |
<li> / </li> |
|
|
25 |
<li class="active_sub">{% blocktrans %}Add a new user{% endblocktrans %}</li> |
|
|
26 |
<li> / </li> |
|
|
27 |
<li><a href="{% url user-mass-add-text text.key %}">{% blocktrans %}Add users in bulk{% endblocktrans %}</a></li> |
|
|
28 |
</ul> |
|
|
29 |
{% blocktrans %}The user will receive an email invitation to join the workspace.{% endblocktrans %} |
|
|
30 |
{% blocktrans %}You can customize the email sent by using the 'Note' field bellow.{% endblocktrans %} |
|
|
31 |
<br /> |
|
|
32 |
<br /> |
|
|
33 |
|
|
|
34 |
{% endblock %} |
|
|
35 |
|
|
|
36 |
{% block buttons %} |
|
|
37 |
<input name="cancel" type="button" id="cancel_button" value="{% blocktrans %}Cancel{% endblocktrans %}"/> |
|
|
38 |
<script type="text/javascript"> |
|
|
39 |
<!-- |
|
|
40 |
$(document).ready(function(){ |
|
|
41 |
$("#cancel_button").click(function () { |
|
|
42 |
window.location = "{% url user %}"; |
|
|
43 |
}); |
|
|
44 |
}) ; |
|
|
45 |
--> |
|
|
46 |
</script> |
|
|
47 |
|
|
|
48 |
{% endblock %} |
|
|
49 |
|
|
|
50 |
{% block post_form %} |
|
|
51 |
</div> |
|
|
52 |
{% endblock %} |