Skip to content

Commit

Permalink
next
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Souhei committed Sep 17, 2024
1 parent cee7db3 commit d593777
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/fjelltopp_theme/assets/css/fjelltopp-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
26 changes: 26 additions & 0 deletions ckanext/fjelltopp_theme/templates/organization/read.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{% ckan_extends %}

{% block page_primary_action %}

{% block maintag %}<div class="main organization-read">{% endblock %}

{% if h.check_access('package_create', {'owner_org': group_dict.id}) %}
<div class="page_primary_action">
{% snippet 'snippets/dataset_selector.html'%}
</div>
{% endif %}

{% endblock %}

{% block secondary_content %}
{% snippet 'snippets/organization.html', organization=group_dict, show_nums=true, group_type=group_type %}
<div class="filters">
<div>
{% 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 %}
</div>
<a class="close no-text hide-filters"><i class="fa fa-times-circle"></i><span class="text">close</span></a>
</div>
{% endblock %}

0 comments on commit d593777

Please sign in to comment.