Skip to content
Snippets Groups Projects
Commit 25f801e9 authored by Dennis Rupnow's avatar Dennis Rupnow
Browse files

Reverts start page (index.html), fixes Organizations-Tab.

parent 72c78d95
No related branches found
No related tags found
No related merge requests found
...@@ -76,6 +76,9 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm ...@@ -76,6 +76,9 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
def dataset_facets(self, facets_dict, package_type): def dataset_facets(self, facets_dict, package_type):
return OrderedDict({'groups': _('Groups')}) return OrderedDict({'groups': _('Groups')})
def organization_facets(self, facets_dict, organization_type, package_type):
return facets_dict
def group_facets(self, facets_dict, group_type, package_type): def group_facets(self, facets_dict, group_type, package_type):
return facets_dict return facets_dict
......
{% ckan_extends %} {% ckan_extends %}
{% block primary_content %}
<h3>Most popular groups</h3>
<ul>
{% for group in h.odsh_main_groups() %}
<li>{{ group.display_name }}</li>
{% endfor %}
</ul>
{% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment