{% extends "includes/crud/table_list.html" %} {% load i18n %} {% load gravatar %} {% load privacy_tags %} {% block top_left_menu_items %}
{% include "includes/filters/form.html" with fields=filter.form %}
{% endblock top_left_menu_items %} {% block create_button %} {% if request.user|is_admin:organization %} {% url "organization_team_add" organization.slug as create_url %} {% trans "Add team" as create_text %} {% include "includes/crud/create_button.html" with url=create_url text=create_text %} {% endif %} {% endblock %} {% block list_placeholder_icon_class %}fad fa-users icon{% endblock %} {% block list_placeholder_header_filtered %} {% trans "No matching teams found" %} {% endblock list_placeholder_header_filtered %} {% block list_placeholder_header_empty %} {% trans "No teams are configured for this organization yet" %} {% endblock list_placeholder_header_empty %} {% block list_placeholder_text_empty %} {% if request.user|is_admin:organization %} {% trans "Add team" %} {% endif %} {% endblock list_placeholder_text_empty %} {% block list_item_right_buttons %} {% if request.user|is_admin:organization %} {# and request.user|org_owner:team %} #} {% blocktrans trimmed with team_name=object.name asvar label_configure %} Configure team {{ team_name }} {% endblocktrans %} {% endif %} {% endblock list_item_right_buttons %} {% block list_item_icon %} {% endblock list_item_icon %} {% block list_item_header %} {{ object.name }}
{{ object.get_access_display }}
{% endblock list_item_header %} {% block list_item_meta_items %} {% blocktrans trimmed count object.members.count as member_count %} {{ member_count }} member {% plural %} {{ member_count }} members {% endblocktrans %} {% blocktrans trimmed count object.projects.count as project_count %} {{ project_count }} project {% plural %} {{ project_count }} projects {% endblocktrans %} {% endblock list_item_meta_items %} {% block list_item_extra %} {% endblock %}