diff --git a/meinberlin/assets/scss/components_user_facing/_control-bar.scss b/meinberlin/assets/scss/components_user_facing/_control-bar.scss index 1142e4aef6..5392ca8ece 100644 --- a/meinberlin/assets/scss/components_user_facing/_control-bar.scss +++ b/meinberlin/assets/scss/components_user_facing/_control-bar.scss @@ -40,3 +40,24 @@ } } } + +.modul-facetingform .facetingform__container .control-bar__checkboxes { + margin-bottom: 1.5em; +} + +.modul-facetingform .facetingform__container .control-bar__checkboxes-legend { + float: left; + line-height: 1.2; + margin-right: 1rem; + font-weight: normal; +} + +.control-bar__form-check-inline { + align-items: center; + display: flex; + margin-bottom: 0; +} + +.control-bar__check-input[type="checkbox"] { + margin-top: 0; +} \ No newline at end of file diff --git a/meinberlin/react/projects/ProjectsControlBar.jsx b/meinberlin/react/projects/ProjectsControlBar.jsx index 4ac6fdd2fb..401918d6d0 100644 --- a/meinberlin/react/projects/ProjectsControlBar.jsx +++ b/meinberlin/react/projects/ProjectsControlBar.jsx @@ -18,6 +18,8 @@ const translated = { allParticipation: django.gettext('All'), projectState: django.gettext('Project state'), organisation: django.gettext('Organization'), + onlyShow: django.gettext('Only show'), + plans: django.gettext('Plans'), nav: django.gettext('Search, filter and sort the ideas list'), searchFor: django.gettext('Search for Proposals'), button: django.gettext('Show projects') @@ -35,7 +37,8 @@ const initialState = { organisation: [], participations: [], topics: [], - projectState: ['active', 'future'] + projectState: ['active', 'future'], + plansOnly: false } const getAlteredFilters = ({ search, districts, topics, projectState, organisation, participations }, topicChoices, participationChoices) => { @@ -152,6 +155,21 @@ export const ProjectsControlBar = ({ typeaheadSelected={filters.organisation} multipleBoolean /> +
> )}