equal
deleted
inserted
replaced
|
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 </div> |
|
35 {% endblock %} |
|
36 |
|
37 {% block buttons %} |
|
38 <input name="cancel" type="button" id="cancel_button" value="{% blocktrans %}Cancel{% endblocktrans %}"/> |
|
39 <script type="text/javascript"> |
|
40 <!-- |
|
41 $(document).ready(function(){ |
|
42 $("#cancel_button").click(function () { |
|
43 window.location = "{% url user %}"; |
|
44 }); |
|
45 }) ; |
|
46 --> |
|
47 </script> |
|
48 |
|
49 {% endblock %} |
|
50 |
|
51 {% block post_form %} |
|
52 </div> |
|
53 {% endblock %} |