Parent: [3d645d] (diff)

Child: [487474] (diff)

Download this file

detail.html    40 lines (37 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!--
# 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.actual_instance.name }}">{{ i.actual_instance.name }}</a>&nbsp;
<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.actual_instance.name }}">
<br>
{% for ospf in i.actual_instance.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 %}