{% extends "ndf/node_details_base.html" %}
{% load ndf_tags %}
{% load i18n %}
{% block title %} {{title}} {% endblock %}
{% block url %}{% url 'create_edit' groupid node %}{% endblock %}
{% block body_content %}
{{node_name_human_readable}}
{% user_access_policy groupid request.user as user_access %}
{% edit_policy groupid node request.user as status %}
{% if user.is_authenticated and status == "allow" and user_access == "allow" %}
{% user_access_policy groupid request.user as user_access %}
{% if user.is_superuser or node.created_by == user.id %}
{% trans "Edit" %}
{% endif %}
{% endif %}
{% with node.last_update|timesince as timesince %}
{{timesince}} {% trans "ago edited by " %}{% trans "User" %} {% trans "View history " %}
{% endwith%}