Skip to content

Commit

Permalink
Add Universities as type of use cases
Browse files Browse the repository at this point in the history
  • Loading branch information
andreslucena committed Dec 5, 2024
1 parent 4ff0ce2 commit a875160
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/installations/uned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ title: UNED
url: https://participa.uned.es
image: /uploads/logo-uned.png
home_image: /uploads/logo-uned-red.png
type: org
type: university
priority: 90
home: false
3 changes: 2 additions & 1 deletion locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -536,9 +536,10 @@ en:
title: Facts & Figures
filters:
f0: See all
f1: Government
f1: Governments
f2: Cities
f3: NGOs
f4: Universities
intro: You can use Decidim in a public or private organisation, with hundreds or thousands of potential participants, such as a city council, an association, a university, an NGO, a trade union, a neighbourhood collective or a cooperative...
join: Over 400 entities, 250 governamental and 150 grass root communities have chosen Decidim for their democratic processes.
subtitle: These cities, regions and organizations are already using Decidim
Expand Down
2 changes: 1 addition & 1 deletion source/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ collections:
- {label: "URL", name: "url", widget: "string", required: true}
- {label: "Image", name: "image", widget: "image", required: true}
- {label: "Home Image", name: "home_image", widget: "image", required: false}
- {label: "Type", name: "type", widget: "select", options: ["city", "org", "region"], required: true}
- {label: "Type", name: "type", widget: "select", options: ["city", "org", "region", "university"], required: true}
- {label: "Priority", name: "priority", widget: "number", default: 50, valueType: "int", min: 1, max: 101, step: 2, hint: Larger number is more priority (100 is Barcelona), required: true}
- {label: "Home", name: "home", widget: "boolean", hint: "Is it going to be published on homepage?", required: false}
- name: "Module"
Expand Down
3 changes: 2 additions & 1 deletion source/localizable/usedby.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ description:
<% region = data_select_by_type(installations, "region") %>
<% city = data_select_by_type(installations, "city") %>
<% org = data_select_by_type(installations, "org") %>
<% filters = [installations, region, city, org] %>
<% university = data_select_by_type(installations, "university") %>
<% filters = [installations, region, city, org, university] %>

<ul role="tablist" class="flex items-center space-x-8 mb-8 md:mb-16">
<% filters.each_with_index do |filter, i| %>
Expand Down

0 comments on commit a875160

Please sign in to comment.