{% extends "ndf/base.html" %} {% load i18n %} {% load ndf_tags %} {% load cache %} {% block title %} Create a sub group of {{maingroup}}{% endblock %} {% block meta_content %} {% blocktrans %}

Types of Groups

Open Groups

Open groups are ideal for projects that require a high level of collaboration and participation. Any metastudio user can join this group without prior approval

Closed Groups

Closed groups are ideal for projects that require restricted access to content and documents. Users can only join after their membership request is approved or have been invited.

{% endblocktrans %} {% endblock %} {% block related_content %} {% if groups %} {% trans " Existing Groups:" %} {% get_existing_groups_excluding_username as groups%} {% for items in groups %}
{{items.name|truncatechars:25}} {% endfor %} {% endif %} {% endblock %} {% block body_content %}

{% blocktrans %} Create a sub group of {{maingroup}} {% endblocktrans %}

{% csrf_token %} {% cache 3600 create_sub_group request.LANGUAGE_CODE %}
{% trans "Name of the Group" %}
{% trans "Group Type" %}
Group Editing policy
Group Subscription policy
{% trans "Group Agency Types" %}
{% get_group_agency_types as agency_types %}
{% trans "Group Member Visibility" %}
{% trans "Group Encryption policy" %}
{% trans "Group Existance visibility" %}
{% endcache %}
{% endblock %} {% block head %} {% endblock %} {% block script %} // method to provide autocomplete/intellisence of forum names $("#create_sub_group").submit(function(event){ var name = $("#group_name").val().trim().toLowerCase(); var nodes = {{nodes_list|safe}} if (name != "") { if (nodes.indexOf(name) != -1) { $("#message").css("display", "block"); $("#message").text("Group '"+ name +"' already exist. Please choose another name"); event.preventDefault(); } } else if (name == ""){ $("#message").css("display", "block"); $("#message").text("Group name cannot be empty."); event.preventDefault(); } else { $("#message").css("display", "none"); } }); {% endblock %}