equal
deleted
inserted
replaced
|
1 {% extends "site/layout/base_workspace_form.html" %} |
|
2 {% load com %} |
|
3 {% load i18n %} |
|
4 |
|
5 {% block title %} |
|
6 {% blocktrans %}Contact user{% endblocktrans %} |
|
7 {% endblock %} |
|
8 |
|
9 {% block pre_form %} |
|
10 |
|
11 <script type="text/javascript"> |
|
12 <!-- |
|
13 tb_conf['current_tab'] = 'user'; |
|
14 --> |
|
15 </script> |
|
16 |
|
17 <div id="user" class="tab-meta"> |
|
18 |
|
19 <a href="{% url user %}">{% blocktrans %}Users' list{% endblocktrans %}</a> / <a href="{% url user-add %}">{% blocktrans %}Add a new user{% endblocktrans %}</a> / {% blocktrans with user.get_profile.admin_print as username %}Contact user {{ username }}{% endblocktrans %} |
|
20 |
|
21 <br /><br /> |
|
22 {% endblock %} |
|
23 |
|
24 {% block buttons %} |
|
25 <input name="cancel" type="button" id="cancel_button" value="{% blocktrans %}Cancel{% endblocktrans %}"/> |
|
26 <script type="text/javascript"> |
|
27 <!-- |
|
28 $(document).ready(function(){ |
|
29 $("#cancel_button").click(function () { |
|
30 window.location = "{% url user %}"; |
|
31 }); |
|
32 }) ; |
|
33 --> |
|
34 </script> |
|
35 {% endblock %} |
|
36 |
|
37 {% block post_form %} |
|
38 </div> |
|
39 {% endblock %} |