update copyright notices on footers
authorymh <ymh.work@gmail.com>
Fri, 29 May 2015 00:51:04 +0200
changeset 1382 8aff7e66e4c7
parent 1381 44ccf39aaf42
child 1383 eb55bae28748
update copyright notices on footers
src/ldt/ldt/ldt_utils/templates/front/front_base.html
src/ldt/ldt/templates/ldt/ldt_base.html
--- a/src/ldt/ldt/ldt_utils/templates/front/front_base.html	Thu May 28 11:03:58 2015 +0200
+++ b/src/ldt/ldt/ldt_utils/templates/front/front_base.html	Fri May 29 00:51:04 2015 +0200
@@ -13,8 +13,8 @@
     <link rel="SHORTCUT ICON" href='{% static "ldt/img/favicon.ico" %}' />
     <title>{% block title %}Lignes de temps{% endblock %}</title>
     {% block js_import %}
-    	<script src='{% static "ldt/js/jquery.min.js" %}' type="text/javascript"></script>
-    	<script src='{% static "ldt/js/jquery.textchange.min.js" %}' type="text/javascript"></script>
+        <script src='{% static "ldt/js/jquery.min.js" %}' type="text/javascript"></script>
+        <script src='{% static "ldt/js/jquery.textchange.min.js" %}' type="text/javascript"></script>
     {% endblock %}
     {% block css_declaration %}{% endblock %}
     {% block css_import %}
@@ -22,17 +22,17 @@
     {% endblock %}
     {% block js_declaration %}
     <script type="text/javascript">
-    	$(document).ready(function () {    		
-    		$("#id_search").bind('hastext', function () {
-				$("#search_submit").addClass('search_valid').removeClass('search_invalid');
-				$("#search_submit").removeAttr('disabled');			
-    		});
-    		$("#id_search").bind('notext', function () {
-				$("#search_submit").addClass('search_invalid').removeClass('search_valid');
-				$("#search_submit").attr('disabled', 'disabled');
-    		});
-    	});
-    </script>    
+        $(document).ready(function () {            
+            $("#id_search").bind('hastext', function () {
+                $("#search_submit").addClass('search_valid').removeClass('search_invalid');
+                $("#search_submit").removeAttr('disabled');
+            });
+            $("#id_search").bind('notext', function () {
+                $("#search_submit").addClass('search_invalid').removeClass('search_valid');
+                $("#search_submit").attr('disabled', 'disabled');
+            });
+        });
+    </script>
     {% endblock %}
 {% endblock %}
 </head>
@@ -67,10 +67,10 @@
         
         <li id="li_connexion">
              {% if user.is_authenticated %}
-             	<a href="{% url 'ldt.user.views.logout_view' %}" title="{% trans "Log out" %}">{% trans "Log out" %}</a>
+                 <a href="{% url 'ldt.user.views.logout_view' %}" title="{% trans "Log out" %}">{% trans "Log out" %}</a>
              {% else %}
-             	<a href="{% url 'auth_login' %}" title="{% trans "Log in" %}">{% trans "Log in" %}</a>
-             {% endif %}       
+                 <a href="{% url 'auth_login' %}" title="{% trans "Log in" %}">{% trans "Log in" %}</a>
+             {% endif %}
         </li>
     </ul>
 {% block body %}
@@ -79,7 +79,7 @@
 <!-- FOOTER COMMUN -->
     <ul id="footer">
         <li>{% blocktrans %}{{WEB_VERSION}} | {{ VERSION }}{% endblocktrans %}</li>
-        <li>©2013 IRI</li>
+        <li>©{% now "Y" %} IRI</li>
         <li>
             <a target="_blank" href="http://www.iri.centrepompidou.fr" title="{% trans 'link IRI'%}">{% trans "about" %}</a>
         </li>
--- a/src/ldt/ldt/templates/ldt/ldt_base.html	Thu May 28 11:03:58 2015 +0200
+++ b/src/ldt/ldt/templates/ldt/ldt_base.html	Fri May 29 00:51:04 2015 +0200
@@ -6,10 +6,10 @@
 {% load thumbnail %}
 
 {% block js_import %}
-	<script type="text/javascript">
-		var project_load_src = '{% static "ldt/img/ajax-loader-transp.gif" %}'; // Required for search bar icon in projectscontents.js
-	</script>
-	
+    <script type="text/javascript">
+        var project_load_src = '{% static "ldt/img/ajax-loader-transp.gif" %}'; // Required for search bar icon in projectscontents.js
+    </script>
+    
     {{ block.super }}
     <script type="text/javascript" src='{% static "ldt/js/jquery.nyroModal.min.js" %}'></script>
     <!--[if IE 6]>
@@ -87,9 +87,9 @@
             <p><a href="{% url 'ldt.ldt_utils.views.workspace.home' %}">{% block base_title %}{% trans "header_title" %}{% endblock %}</a></p>
         </div>
         <div id="loginstate" >
-	        {% if user.is_staff %}
-	        	<a href="{% url 'admin:index' %}" title="{% trans "Link to admin" %}">{% trans "Staff" %}</a>|
-	        {% endif %}
+            {% if user.is_staff %}
+                <a href="{% url 'admin:index' %}" title="{% trans "Link to admin" %}">{% trans "Staff" %}</a>|
+            {% endif %}
             {% if user.is_authenticated %}
             <a href="{% url 'front_home' %}" title="{% trans "front link" %}">{% trans "front link" %}</a> |            
             <a href="{% url 'ldt.user.views.profile' %}"  title="{% trans "Profile change" %}">
@@ -123,14 +123,14 @@
                 {% endif %}
                 </div>
                 {% if user.is_authenticated %}
-		        <div class="block span-4 last">
-		            <form method="get" id="quick_search_form" action="{% url 'ldt.ldt_utils.views.workspace.search_index' %}" title="{% trans "search"%}" accept-charset="utf-8">
-					<input type="text" name="search" id="id_search" size="16"/>
-					<input type='hidden' name='field' value='all' />
-					<input type="submit" class="quick_search_submit" value="" />					
-					</form>
-		        </div>
-		        {% endif %}
+                <div class="block span-4 last">
+                    <form method="get" id="quick_search_form" action="{% url 'ldt.ldt_utils.views.workspace.search_index' %}" title="{% trans "search"%}" accept-charset="utf-8">
+                    <input type="text" name="search" id="id_search" size="16"/>
+                    <input type='hidden' name='field' value='all' />
+                    <input type="submit" class="quick_search_submit" value="" />
+                    </form>
+                </div>
+                {% endif %}
             </div>
         {% endblock %}
         </div>
@@ -144,8 +144,8 @@
         <a href="http://www.iri.centrepompidou.fr"><img src='{% static "ldt/img/logo_IRI_footer.png" %}' alt="Logo IRI" /></a>
         </div>
         <div style="float: right; text-align: right;" class="small" id="copyright_version">
-        	<div>©2011 <a style="text-decoration: none; color: #4F5155;" href="http://www.iri.centrepompidou.fr">IRI</a></div>
-        	<div id="versionwrapper"><span class="version" id="version" title="{% trans "Version number" %}"> {% blocktrans %} web {{WEB_VERSION}} | platform {{ VERSION }}{% endblocktrans %}</span></div>
+            <div>©{% now "Y" %} <a style="text-decoration: none; color: #4F5155;" href="http://www.iri.centrepompidou.fr">IRI</a></div>
+            <div id="versionwrapper"><span class="version" id="version" title="{% trans "Version number" %}"> {% blocktrans %} web {{WEB_VERSION}} | platform {{ VERSION }}{% endblocktrans %}</span></div>
         </div>
         {% endblock %}
     </div>