{% load i18n %}
{% load thumbnail %}
{% load bootstrap_tags %}
{% if resource_type.photo %}
{% elif resource_type.photo_url %}
{% endif %}
{% comment %}#todo pr: shd this use own or own_or_parent_recipes?{% endcomment %}
{% if resource_type.producing_process_type_relationships %}
{% trans "View Recipe" %}
{% endif %}
{% if user.is_authenticated %}
{% if resource_type.is_process_output %}
{% comment %}#todo pr: shd this use own or own_or_parent_recipes?{% endcomment %}
{% if resource_type.producing_process_type_relationships %}
{% trans "Change Recipe" %}
{% else %}
{% trans "Create Recipe" %}
{% endif %}
{% endif %}
{% endif %}