{% 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['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'] }}
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 links %}

Linked resources:

{% for link in links %}
{% if link['type'] == 'tool' %}

{{ link['name'] }}

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

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

{{ link['name'] }}

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

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