{{item.name|truncatechars:40}}
{% with map=item|url_link %}
{% for value in map %}
{% if value.tool_id|has_access_url %}
{{value.tag_tool|lower}}
{% else %}
{{value.tag_tool|lower}}
{% endif %}
{% endfor %}
{% endwith %}
{% get_obj_perms request.user for project as "project_perms" %}
{% if "change_project" in project_perms %}
{% else %}
{% endif %}
{% get_obj_perms request.user for project as "project_perms" %}
{% if "change_project" in project_perms %}
Add study
{% if item.studies.all %}
Add assay
{% else %}
{% for choice in form.assays_name.field.choices %}
{% if choice.0 == item.id %}
{{item.name}}
{% endif %}
{% endfor %}
{% with dict=item|url_link %}
{% for key, value in dict.items %}
View on {{key}}
{% endfor %}
{% endwith %}
{% elif data_type == "assay" %}
{{item.name}}
{% with dict=item|url_link %}
{% for key, value in dict.items %}
View on {{key}}
{% endfor %}
{% endwith %}
{% endif %}
{% endif %}
{% else %}
{% if int is not None %}
{% define int3|add:"1" as int3%}