Newsletter in menu.
authorRadek Czajka <rczajka@rczajka.pl>
Mon, 9 Nov 2020 00:25:10 +0000 (01:25 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Mon, 9 Nov 2020 00:25:10 +0000 (01:25 +0100)
src/wolnelektury/static/scss/main/menu.scss
src/wolnelektury/templates/base/superbase.html

index bbe9d41..ec7e7de 100644 (file)
@@ -129,7 +129,7 @@ body.menu-on {
 
         li {
             display: inline-block;
-            @include size(width, 20%);
+            @include size(width, 16.6%);
 
             &.active {
                 background-color: white;
index a59981e..b47f3a3 100644 (file)
                   <li{% if active_menu_item == 'all_works' %} class="active"{% endif %}>
                     <a href="{% url 'catalogue' %}">{% trans "All works" %}</a>
                   </li>
+                  <li>
+                    <a href="{% url 'subscribe' %}">{% trans "Newsletter" %}</a>
+                  </li>
                 </ul>
               </nav>
               <form id="search-area" action="{% url 'wlsearch' %}">