{% extends "spider_base/uc_base.html" %} {% load i18n static spider_base %} {% block title %}{% if scope == "add" %}{% blocktrans trimmed with name=object %} Create Content: {{name}} {% endblocktrans %}{% elif scope == "update" %}{% blocktrans trimmed with name=object %} Update Content: {{name}} {% endblocktrans %}{% else %}{% blocktrans trimmed with name=object %} Content: {{name}} {% endblocktrans %}{% endif %}{% endblock %} {% block extrahead %} {{block.super}} {% if form %} {{form.media|safe}} {% endif %} {% if content %} {{content.1|safe}} {% endif %} {% endblock %} {% block main_classes %}{{block.super}}{% if not object %} w3-animate-bottom{% endif %}{% endblock %} {% block content %}
{% if request.user == uc.user or uc.public %} {# index is redirected in view #} {% trans 'Index' %} {% endif %} {% if scope != "add" and request.user == uc.user %}
{% trans 'Delete' %} {% if scope != "view" %} {% trans "View" %} {% endif %} {% if scope != "update" %} {% trans "Update" %} {% endif %}
{% endif %} {% if scope != "add" %}
{% trans 'Link/Export' %}
{% endif %}
{% trans "Strength:" %} {{uc.strength}}

{% if scope == "add" %} {% trans object.name as local_name %} {% blocktrans trimmed with name=local_name %} Create Content: {{name}} {% endblocktrans %} {% elif scope == "update" %} {% trans object.ctype.name as local_name %} {% blocktrans trimmed %} Update {% endblocktrans %} "{{object}}" ({{local_name}}) {% else %} {% trans object.ctype.name as local_name %} {{object}} ({{local_name}}) {% endif %}

{% if request.token_expires %}
{% include 'spider_base/token_lifetime.html' with rtime=request.token_expires %}
{% endif %}
{% block render_content %} {{content.0|safe}} {% endblock %} {% endblock %} {% block outercontent %} {% if request.user == uc.user %} {% url 'spider_base:ucontent-access' id=object.id nonce=object.nonce access='export' as exportlink %} {% endif %} {% if scope != "add" %} {# remotelink generated in view #} {% include "spider_base/modalpresenter.html" %} {% endif %} {% endblock %}