From 9bfd3ad6d163fb6f19b2b659456da637c5a24328 Mon Sep 17 00:00:00 2001 From: css911 Date: Mar 08 2019 15:07:54 +0000 Subject: THis is the change required in base.html This change assumes an class called active will be written by Phoenixabhikesh which will have the styling required to make the table appear been selected. the logic written here sets the class of the list element to active which is been selected --- diff --git a/templates/base.html b/templates/base.html index daecfb9..e44f537 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,20 +32,20 @@
  • Total Happiness Spread: {{ packets_sent }} 🎉
  • {% endif %} {% url 'messaging:send' as url %} -
  • Send some happiness!
  • +
  • Send some happiness!
  • {% url 'messaging:start' as url %} -
  • What are Happiness Packets?
  • +
  • What are Happiness Packets?
  • {% url 'messaging:inspiration' as url %} -
  • Get inspired
  • +
  • Get inspired
  • {% url 'messaging:faq' as url %} -
  • FAQ
  • +
  • FAQ
  • {% url 'messaging:archive' as url %} -
  • Happiness Archive
  • +
  • Happiness Archive
  • {% if user.is_authenticated %} {% url 'messaging:received_messages' as url %} -
  • My Received Packets
  • +
  • My Received Packets
  • {% url 'messaging:sent_messages' as url %} -
  • My Sent Packets
  • +
  • My Sent Packets
  • {% csrf_token %}