<!--
# This Source Code Form of OSSEval is subject to the terms of the GNU AFFERO
# GENERAL PUBLIC LICENSE, v. 3.0. If a copy of the AGPL was not
# distributed with this file, You can obtain one at http://www.gnu.org/licenses/agpl.txt
#
# OSSeval is powered by the SOS Open Source AGPL edition.
# The AGPL requires that you do not remove the SOS Open Source attribution and copyright
# notices from the user interface (see section 5.d below).
# OSSEval Copyright 2014 Bitergium SLL
# SOS Open Source Copyright 2012 Roberto Galoppini
# Author: Davide Galletti
-->
{% load staticfiles %}
<ul>
{% for i in analysis.instance_set.all %}
<li>
<a id_instance="{{ i.id }}" href="#{{ i.id }}">{{ i.os_project.name }}</a>
<a target="_blank" href="{% url 'OSProject_detail' i.id %}"><img src="{% static "images/i.png" %}"/></a>
</li>
{% empty %}
<li>No projects yet, please add at least one.</li>
{% endfor %}
</ul>
{% for i in analysis.instance_set.all %}
<div id="{{ i.id }}">
<br>
{% for ospf in i.os_project.osprojectforge_set.all %}
<a href="{% url 'OSProjectForge_delete' ospf.id analysis.id %}">
<img src="{% static "images/delete.jpg" %}" />
</a>
<a href="{% url 'OSProjectForge_detail' ospf.id %}" target="_blank">
<img src="{% static "images/" %}{{ ospf.forge.id }}.jpg" />
</a>
{{ ospf.name }}
{% endfor %}
</div>
{% endfor %}