{% extends project_specific|yesno:"baseprojectspecificpage.html,base.html" %} {% load projecttags %} {% load humanize %} {% load static %} {% block title %} {{layerversion.layer.name}} - {{project.name}} - Toaster {% endblock %} {% block pagecontent %}
{# If this is not an imported layer then hide the edit ui #} {% if layerversion.layer_source != layer_source.TYPE_IMPORTED %} {% endif %}
{% if layerversion.id not in projectlayers %} {% else %} {% endif %}

Layer source code location

{% if layerversion.layer.local_source_dir %}
Path to the layer directory
{{layerversion.layer.local_source_dir}}
{% else %}
Repository URL
{{layerversion.layer.vcs_url}} {% if layerversion.get_vcs_link_url %} {% endif %}
{% if layerversion.dirpath %}
Repository subdirectory
{{layerversion.dirpath}} {% if layerversion.get_vcs_dirpath_link_url %} {% endif %}
{% endif %}
Git revision
{{layerversion.get_vcs_reference}}
{% endif %} {% if layerversion.layer_source == layer_source.TYPE_IMPORTED %} {% endif %}

Layer dependencies

Add layer You can only add layers Toaster knows about
{% url 'layerrecipestable' project.id layerversion.id as xhr_table_url %} {% with "recipestable" as table_name %} {% with "Recipes" as title %} {% include 'toastertable-simple.html' %} {% endwith %} {% endwith %}
{% url 'layermachinestable' project.id layerversion.id as xhr_table_url %} {% with "machinestable" as table_name %} {% with "Machines" as title %} {% include 'toastertable-simple.html' %} {% endwith %} {% endwith %}

About {{layerversion.layer.name}}

Summary
{{layerversion.layer.summary|default_if_none:''}}
Cancel
Description
{{layerversion.layer.description|default_if_none:''}}
Cancel
{% if layerversion.layer_source == layer_source.TYPE_LAYERINDEX %}
Layer index
Layer index {{layerversion.layer.name}}
{% endif %}
{# Only show delete link for imported layers #} {% if layerversion.layer_source == layer_source.TYPE_IMPORTED %} Delete layer {% endif %}
{% endblock %}