src/cm/templates/site/user_add_text.html
author rbernard
Fri, 12 Feb 2010 21:58:53 +0100
changeset 172 9a355903350d
parent 0 40c8f766c9b8
child 247 93262058ee60
permissions -rw-r--r--
renaming variables
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
{% extends "site/layout/base_text_form.html" %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
{% load com %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
{% load i18n %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     4
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     5
{% block title %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     6
{% blocktrans %}Add a new user{% endblocktrans %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     7
{% endblock %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     8
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     9
{% block head %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    10
{% endblock %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    11
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    12
{% block pre_form %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    13
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    14
<script type="text/javascript">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    15
<!--
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    16
tb_conf['current_tab'] = 'share';
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    17
-->
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    18
</script>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    19
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    20
<div id="text_share" class="tab-meta">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    21
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    22
<ul class="sub_list">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    23
    <li><a href="{% url text-share text.key %}">{% blocktrans %}Users' list{% endblocktrans %}</a></li>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    24
    <li> / </li>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    25
    <li class="active_sub">{% blocktrans %}Add a new user{% endblocktrans %}</li>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    26
    <li> / </li>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    27
    <li><a href="{% url user-mass-add-text text.key %}">{% blocktrans %}Add users in bulk{% endblocktrans %}</a></li>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    28
</ul>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    29
{% blocktrans %}The user will receive an email invitation to join the workspace.{% endblocktrans %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    30
{% blocktrans %}You can customize the email sent by using the 'Note' field bellow.{% endblocktrans %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    31
<br />
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    32
<br />
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    33
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    34
</div>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    35
{% endblock %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    36
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    37
{% block buttons %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    38
            <input name="cancel" type="button" id="cancel_button" value="{% blocktrans %}Cancel{% endblocktrans %}"/>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    39
            <script type="text/javascript">
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    40
            <!--
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    41
            $(document).ready(function(){
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    42
                $("#cancel_button").click(function () { 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    43
                    window.location = "{% url user %}"; 
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    44
                  });                
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    45
            }) ;
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    46
            -->
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    47
            </script>                        
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    48
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    49
{% endblock %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    50
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    51
{% block post_form %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    52
</div>
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
    53
{% endblock %}