date format
[prawokultury.git] / prawokultury / templates / base.html
index 3d36dcf..976b56e 100755 (executable)
@@ -36,7 +36,7 @@
 
         <div id="menu-bar">
         <div class="bar-right">
 
         <div id="menu-bar">
         <div class="bar-right">
-            <form id="search-form" method="GET" action="/search/"><input name="q" /><button>
+            <form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
             </button></form>
         </div>
                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
             </button></form>
         </div>
@@ -52,7 +52,7 @@
         <div id="sidebar" class="bar-right">
             {% block "sidebar" %}
                 <div class="sidebar-box">
         <div id="sidebar" class="bar-right">
             {% block "sidebar" %}
                 <div class="sidebar-box">
-                    <h3>{% trans "Upcoming events" %}</h3>
+                    <h3><a href="{% url 'events' %}">{% trans "Upcoming events" %}</a></h3>
                     {% events_box %}
                 </div>
                 <div id="sidebar-box-categories" class="sidebar-box">
                     {% events_box %}
                 </div>
                 <div id="sidebar-box-categories" class="sidebar-box">