diff --git a/ckanext/fjelltopp_theme/assets/css/fjelltopp-theme.scss b/ckanext/fjelltopp_theme/assets/css/fjelltopp-theme.scss index 4059efc..790f771 100644 --- a/ckanext/fjelltopp_theme/assets/css/fjelltopp-theme.scss +++ b/ckanext/fjelltopp_theme/assets/css/fjelltopp-theme.scss @@ -2165,7 +2165,7 @@ div.main.search .wrapper { padding-right: 30px; } -div.main.search { +div.main.search, div.main.organization-read { background-color: config.$primary10; .row > .big-search-form { diff --git a/ckanext/fjelltopp_theme/templates/organization/read.html b/ckanext/fjelltopp_theme/templates/organization/read.html new file mode 100644 index 0000000..ea0464f --- /dev/null +++ b/ckanext/fjelltopp_theme/templates/organization/read.html @@ -0,0 +1,26 @@ +{% ckan_extends %} + +{% block page_primary_action %} + +{% block maintag %}
{% endblock %} + +{% if h.check_access('package_create', {'owner_org': group_dict.id}) %} +
+ {% snippet 'snippets/dataset_selector.html'%} +
+{% endif %} + +{% endblock %} + +{% block secondary_content %} + {% snippet 'snippets/organization.html', organization=group_dict, show_nums=true, group_type=group_type %} +
+
+ {% for facet in facet_titles %} + {% set scheming_choices=h.scheming_field_by_name(h.scheming_get_dataset_schema(dataset_type).dataset_fields, facet).choices %} + {{ h.snippet('snippets/facet_list.html', title=facet_titles[facet], name=facet, search_facets=search_facets, scheming_choices=scheming_choices) }} + {% endfor %} +
+ close +
+{% endblock %}