Merge with upstream
authorhamidouk
Fri, 03 Feb 2012 17:20:50 +0100
changeset 526 1def9a19333d
parent 525 1b7a99b910a0 (current diff)
parent 524 7d83b8989b91 (diff)
child 527 348844fc63ce
child 528 8802151cc370
Merge with upstream
--- a/src/ldt/ldt/ldt_utils/templates/front/front_base.html	Fri Feb 03 17:20:18 2012 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/front/front_base.html	Fri Feb 03 17:20:50 2012 +0100
@@ -32,15 +32,19 @@
                 <input type="hidden" value="all" name="field">
                 <input id="search_submit" type="submit" value="{% trans 'Search' %}" />
             </form>
+            
+        {% if user.is_authenticated %}
         <li id="li_annotation">
             <div class="fl">
                 <!-- a href="#"><img src="{{LDT_MEDIA_PREFIX}}img/annot_icon.png" id="annot_icon" /></a -->
-                <a href="{% url root-view %}"  title="{% trans "back" %}">{% trans "back" %}</a>
+                <a href="{% url root-view %}"  title="{% trans "My projects" %}">{% trans "My projects" %}</a>
             </div>
             <div class="fl">
                 <!-- a href="{% url root-view %}">{% trans 'Annotate' %}</a -->
             </div>
         </li>
+        {% endif %}
+        
         <li id="li_connexion">
              {% if user.is_authenticated %}
              	<a href="{% url ldt.user.views.logout_view %}" title="{% trans "Log out" %}">{% trans "Log out" %}</a>