Prechádzať zdrojové kódy

[templates] Move moods around

Colin Powell 1 mesiac pred
rodič
commit
350d3ceb14

+ 9 - 9
vrobbler/templates/scrobbles/_last_scrobbles.html

@@ -25,6 +25,15 @@
         <p>No food today</p>
         {% endif %}
 
+        <h3><a href="{% url 'moods:mood_list' %}">Moods</a></h3>
+        {% if Mood %}
+        {% with scrobbles=Mood count=Mood_count time=Mood_time %}
+        {% include "scrobbles/_scrobble_table.html" %}
+        {% endwith %}
+        {% else %}
+        <p>No moods felt today </p>
+        {% endif %}
+
     </div>
     <div class="col-md">
 
@@ -135,14 +144,5 @@
         <p>No locations visited today</p>
         {% endif %}
 
-        <h3><a href="{% url 'moods:mood_list' %}">Moods</a></h3>
-        {% if Mood %}
-        {% with scrobbles=Mood count=Mood_count time=Mood_time %}
-        {% include "scrobbles/_scrobble_table.html" %}
-        {% endwith %}
-        {% else %}
-        <p>No moods felt today </p>
-        {% endif %}
-
     </div>
 </div>