Parent: [c9d94b] (diff)

Child: [3d645d] (diff)

Download this file

detail.html    49 lines (46 with data), 2.0 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
40
41
42
43
44
45
46
47
48
<!--
# 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).
# Commercial licenses are available and do not require any SOS Open Source attributions
# or visible copyright notices but they are not permitted under this license.
# 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 %}
<!-- <PRE>
instance_id {{ instance_id }}
{{ i.id }} {{ i.name }}
ospf.os_project.instance_id: {{ ospf.os_project.instance_id }}
i.actual_instance.instance_id: {{ i.actual_instance.instance_id }} {{ i.actual_instance.name }}
</PRE>
-->
<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 %}