--- a/OSSEval/analysis/templates/analysis/import_file.html
+++ b/OSSEval/analysis/templates/analysis/import_file.html
@@ -1,3 +1,19 @@
+<!-- 
+# 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 
+-->
+
 {% extends "base.html" %}
 {% load staticfiles %}
 {% block content %}
@@ -5,10 +21,14 @@
     <p>You have uploaded <strong>{{ file }}</strong></p>
     <h3>The file you have uploaded contains:</h3>
         <p>Methodology "{{ analysis_on_file.methodology_version.methodology.name }}" (ID {{ analysis_on_file.methodology_version.id }})  - Version: {{ analysis_on_file.methodology_version.number }}</p>
+        {% if analysis_on_file.id %}
         <p>Analysis "{{ analysis_on_file.name }}" (ID {{ analysis_on_file.id }}) created on the {{ analysis_on_file.created }} by {{ analysis_on_file.user_login }}</p>
+        {% endif %}
     <h3>I searched on the database and this is what I have found with the same IDs:</h3>
         <p>Methodology "{{ analysis_on_db.methodology_version.methodology.name }}" (ID {{ analysis_on_db.methodology_version.id }}) - Version: {{ analysis_on_db.methodology_version.number }}</p> 
+        {% if analysis_on_db.id %}
         <p>Analysis "{{ analysis_on_db.name }}" (ID {{ analysis_on_db.id }}) created on the {{ analysis_on_db.created }} by {{ analysis_on_db.user_login }}</p>
+        {% endif %}
     <hr>
     <form action="{% url 'perform_import' %}" method="post">{% csrf_token %}
         {{ import_choice_form.as_p }}