{% extends "base.html" %} {% load django_tables2 %} {% load crispy_forms_filters %} {% load static %} {% load i18n %} {% block title %}{% trans "Space Settings" %}{% endblock %} {% block extra_head %} {{ form.media }} {% include 'include/vue_base.html' %} {% endblock %} {% block content %}

{% trans 'Space:' %} {{ request.space.name }} {% if HOSTED %} {% trans 'Manage Subscription' %}{% endif %}


{% trans 'Number of objects' %}
  • {% trans 'Recipes' %} : {{ counts.recipes }} / {% if request.space.max_recipes > 0 %} {{ request.space.max_recipes }}{% else %}∞{% endif %}
  • {% trans 'Keywords' %} : {{ counts.keywords }}
  • {% trans 'Units' %} : {{ counts.units }}
  • {% trans 'Ingredients' %} : {{ counts.ingredients }}
  • {% trans 'Recipe Imports' %} : {{ counts.recipe_import }}
{% trans 'Objects stats' %}
  • {% trans 'Recipes without Keywords' %} : {{ counts.recipes_no_keyword }}
  • {% trans 'External Recipes' %} : {{ counts.recipes_external }}
  • {% trans 'Internal Recipes' %} : {{ counts.recipes_internal }}
  • {% trans 'Comments' %} : {{ counts.comments }}


{% trans 'Members' %} {{ space_users|length }}/ {% if request.space.max_users > 0 %} {{ request.space.max_users }}{% else %}∞{% endif %} {% trans 'Invite User' %}


{% if space_users %} {% for u in space_users %} {% endfor %}
{% trans 'User' %} {% trans 'Groups' %} {% trans 'Edit' %}
{{ u.user.username }} {{ u.user.groups.all |join:", " }} {% if u.user != request.user %}
{% trans 'Update' %}
{% else %} {% trans 'You cannot edit yourself.' %} {% endif %}
{% else %}

{% trans 'There are no members in your space yet!' %}

{% endif %}

{% trans 'Invite Links' %}

{% render_table invite_links %}



{% endblock %} {% block script %} {% endblock %}