|
a |
|
b/OSSEval/IMDBMovieApp/templates/IMDBMovieApp/detail.html |
|
|
1 |
<!--
|
|
|
2 |
# This Source Code Form of OSSEval is subject to the terms of the GNU AFFERO
|
|
|
3 |
# GENERAL PUBLIC LICENSE, v. 3.0. If a copy of the AGPL was not
|
|
|
4 |
# distributed with this file, You can obtain one at http://www.gnu.org/licenses/agpl.txt
|
|
|
5 |
#
|
|
|
6 |
# OSSeval is powered by the SOS Open Source AGPL edition.
|
|
|
7 |
# The AGPL requires that you do not remove the SOS Open Source attribution and copyright
|
|
|
8 |
# notices from the user interface (see section 5.d below).
|
|
|
9 |
|
|
|
10 |
# OSSEval Copyright 2014 Bitergium SLL
|
|
|
11 |
# SOS Open Source Copyright 2012 Roberto Galoppini
|
|
|
12 |
# Author: Davide Galletti
|
|
|
13 |
-->
|
|
|
14 |
|
|
|
15 |
{% load staticfiles %}
|
|
|
16 |
<ul>
|
|
|
17 |
{% for i in analysis.instance_set.all %}
|
|
|
18 |
<li>
|
|
|
19 |
<a id_instance="{{ i.id }}" href="#{{ i.imdb_movie.imdb_id }}">{{ i.imdb_movie.title }}</a>
|
|
|
20 |
<a target="_blank" href="http://www.imdb.com/title/{{ i.imdb_movie.imdb_id }}" /><img src="{% static "images/" %}imdb.jpg"></a>
|
|
|
21 |
</li>
|
|
|
22 |
{% empty %}
|
|
|
23 |
<li>No movies yet, please add at least one.</li>
|
|
|
24 |
{% endfor %}
|
|
|
25 |
</ul>
|
|
|
26 |
{% for i in analysis.instance_set.all %}
|
|
|
27 |
<div id="{{ i.imdb_movie.imdb_id }}">
|
|
|
28 |
<br>
|
|
|
29 |
<a href="{% url 'IMDBMovie_delete' i.id analysis.id %}">
|
|
|
30 |
<img src="{% static "images/delete.jpg" %}" />
|
|
|
31 |
</a>
|
|
|
32 |
{{ i.imdb_movie.title }}<br>{{ i.imdb_movie.description }}
|
|
|
33 |
</div>
|
|
|
34 |
{% endfor %}
|