{% extends 'base.html' %} {% block content %}

{% block title %} {{ resource['name'] }} {% endblock %}

{% if current_user.is_authenticated %} {% if resource['type'] == 'tool' %}
Edit
{% endif %} {% if resource['type'] == 'practice' %}
Edit
{% endif %} {% endif %}
{% if resource['description'] %} {% endif %} {% if resource['developer'] %} {% endif %} {% if resource['license'] %} {% endif %} {% if resource['scriptingLanguage'] %} {% endif %} {% if resource['projectUrl'] %} {% endif %} {% if resource['repositoryUrl'] %} {% endif %} {% if resource['expertiseToUse'] %} {% endif %} {% if resource['expertiseToHost'] %} {% endif %} {% if resource['dependencies'] %} {% endif %} {% if resource['ingestFormats'] %} {% endif %} {% if resource['outputFormats'] %} {% endif %} {% if resource['status'] %} {% endif %}
Created: {{ resource['created'].strftime("%Y-%m-%d %H:%M") }} UTC
Description: {{ resource['description'] }}
Developer {% if resource['developerUrl'] %} {{ resource['developer'] }} {% else %} {{ resource['developer'] }} {% endif %}
Software license: {{ resource['license'] }}
Software language(s): {{ resource['scriptingLanguage'] }}
Project page: {{ resource['projectUrl'] }}
Code repository: {{ resource['repositoryUrl'] }}
Expertise required to use: {{ resource['expertiseToUse'] }}
Expertise required to self-host: {{ resource['expertiseToHost'] }}
Technical dependencies: {{ resource['dependencies'] }}
Import / ingest formats: {{ resource['ingestFormats'] }}
Output formats: {{ resource['outputFormats'] }}
Platform status: {{ resource['status'] }}
{% if relationships %}

Linked resources:

{% for relationship in relationships %}
{% if relationship['type'] == 'tool' %}

{{ relationship['name'] }}

{{ relationship['description']|truncate(100) }}

{% endif %} {% if relationship['type'] == 'practice' %}

{{ relationship['name'] }}

{{ relationship['description']|truncate(100) }}

{% endif %}
{% endfor %}
{% endif %} {% endblock %}