Link to projects is displayed for logged users only
authorverrierj
Fri, 03 Feb 2012 16:18:43 +0100
changeset 524 7d83b8989b91
parent 523 668a7f75b256
child 526 1def9a19333d
Link to projects is displayed for logged users only
src/ldt/ldt/ldt_utils/templates/front/front_base.html
--- a/src/ldt/ldt/ldt_utils/templates/front/front_base.html	Fri Feb 03 16:02:04 2012 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/front/front_base.html	Fri Feb 03 16:18:43 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>