]> git.parisson.com Git - teleforma.git/commitdiff
add record to menu
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 9 Jun 2025 15:39:23 +0000 (17:39 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 9 Jun 2025 15:39:23 +0000 (17:39 +0200)
teleforma/templates/telemeta/base.html

index 28ee5c1e4ae4bf185809d0e4da26ade15609c015..886ffc00f5e684e6a21957869e11d54018cf3349 100644 (file)
@@ -83,27 +83,25 @@ alt="logo" />
 <ul id="nav">
 
  {% if user.is_authenticated %}
+   <li><a href="{% url teleforma-conference-record %}" class="red">{% trans "Record" %}</a></li>
+ {% else %}
+  <li><a href="{% url teleforma-login %}" class="red">{% trans "Login" %}</a></li>
+ {% endif %}
 
-  {% if periods|length > 1 %}
+{% if user.is_authenticated %}
+
+{% if periods|length > 1 %}
     <li><a href="#desk#" class="red">&nbsp;{% trans "Desk" %}&nbsp;</a>
       <ul>
        {% for period in periods %}
-        <li><a href="{% url teleforma-desk-period-list period.id %}" class="red">{{ period.name }}</a></li>
+        <li><a href="{% url teleforma-desk-period-list period.id %}" class="orange">{{ period.name }}</a></li>
        {% endfor %}
       </ul>
     </li>
   {% else %}
-   <li><a href="{% url teleforma-home %}" class="red">{% trans "Desk" %}</a></li>
+    <li><a href="{% url teleforma-home %}" class="orange">{% trans "Desk" %}</a></li>
   {% endif %}
 
- {% else %}
-  <li><a href="{% url teleforma-login %}" class="red">{% trans "Home" %}</a></li>
- {% endif %}
-
- {% if user.is_authenticated %}
-
- <li><a href="{% url postman_inbox %}" class="orange">{% trans "Messaging" %}{% if postman_unread_count %} ({{ postman_unread_count }}){% endif %}</a></li>
-
  {% if user.is_staff %}
   <li><a href="{% url teleforma-users 0 0 0 %}" class="yellow">{% trans "Users" %}</a></li>
  {% else %}