Commit c2a2f87f36c0e7d241923d45645c26a0ee21386b

Authored by Sergio Oliveira
1 parent def63ea5

Removing open data (needs to be reimplemented)

src/colab/urls.py
@@ -14,13 +14,8 @@ urlpatterns = patterns('', @@ -14,13 +14,8 @@ urlpatterns = patterns('',
14 url(r'^$', 'home.views.index', name='home'), 14 url(r'^$', 'home.views.index', name='home'),
15 15
16 url(r'^search/', include('search.urls')), 16 url(r'^search/', include('search.urls')),
17 - url(r'open-data/$', TemplateView.as_view(template_name='open-data.html'),  
18 - name='opendata'),  
19 -  
20 url(r'^archives/', include('super_archives.urls')), 17 url(r'^archives/', include('super_archives.urls')),
21 -  
22 url(r'^api/', include('api.urls')), 18 url(r'^api/', include('api.urls')),
23 -  
24 url(r'^rss/', include('rss.urls')), 19 url(r'^rss/', include('rss.urls')),
25 20
26 url(r'^user/', include('accounts.urls')), # Kept for backwards compatibility 21 url(r'^user/', include('accounts.urls')), # Kept for backwards compatibility
src/templates/base.html
@@ -153,7 +153,6 @@ @@ -153,7 +153,6 @@
153 <div class="row">&nbsp;</div> 153 <div class="row">&nbsp;</div>
154 154
155 {% block footer %} 155 {% block footer %}
156 - <p class="col-lg-12 text-center"><a href="{% url 'opendata' %}"><img src="{{ STATIC_URL }}img/opendata3.png"/></a></p>  
157 <p class="col-lg-12 text-center">{% trans "Last email imported at" %} {{ last_imported_message.received_time|date:'DATETIME_FORMAT' }}</p> 156 <p class="col-lg-12 text-center">{% trans "Last email imported at" %} {{ last_imported_message.received_time|date:'DATETIME_FORMAT' }}</p>
158 <div class="row"> 157 <div class="row">
159 </div> 158 </div>
src/templates/open-data.html
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -{% extends "base.html" %}  
2 -{% load i18n %}  
3 -  
4 -{% block main-content %}  
5 - <h2>{% trans "OpenData - Communities Interlegis" %}</h2>  
6 - <br>  
7 - <h3>{% trans 'Soon...'%}</h3>  
8 -{% endblock %}