decidim-conferences 0.24.0 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63870df7617bd7fe13c574112151fe136309a33a8cc4882f626a40a62bb2c30f
4
- data.tar.gz: c555b68cac5290d1d4136aa51438825943f1b88bbfd6cbd21429f710059349dc
3
+ metadata.gz: c4c1c21bb65f6cf0dc134a4ddd55aecec244edd7f20d962524a7c52b71b0b39e
4
+ data.tar.gz: 59fd333279eb8c43a37a67683b127230aed6e6124aea4c7798194e7435f8e9b9
5
5
  SHA512:
6
- metadata.gz: 121f61ddd38094a32f5039ea1b0e07237c4db258979fb3ea008460049d2ca1a37978315caa129a5c2229f46d005f7109bb1ca10b6c225b7fb3d0d1c37ddace07
7
- data.tar.gz: f1bf3b9618635761ad8f550e05e740683b32e282f637105a47cb5779e1e94f959736fee322ddb2df8cb5697c0f396646921bd46218387ac9ace9d7f105f01932
6
+ metadata.gz: 6a9efa55c1626f4951a69122e3e877210d4bc475fe080b77f7cae6cdb7ecdbe54be8f5136d3d40cc0909b0252bfffe3382f78f8e131e4cffc013036ad8285e87
7
+ data.tar.gz: c4e939496320108ae90d1927f6a225beb14c3349824c4c20225d457c9895f10aa4e5be090bf5e6511b2995f7aec7f23c4694d493fde27ebf1613c1b003531200
@@ -43,12 +43,13 @@ module Decidim
43
43
 
44
44
  validate :slug_uniqueness
45
45
 
46
+ validates :available_slots, presence: true, if: ->(form) { form.registrations_enabled? }
47
+ validates :available_slots, numericality: { greater_than_or_equal_to: 0 }, if: ->(form) { form.registrations_enabled? && form.available_slots.present? }
46
48
  validates :registration_terms, translatable_presence: true, if: ->(form) { form.registrations_enabled? }
47
- validates :available_slots, numericality: { greater_than_or_equal_to: 0 }, if: ->(form) { form.registrations_enabled? }
48
49
 
49
50
  validates :hero_image, passthru: { to: Decidim::Conference }
50
51
  validates :banner_image, passthru: { to: Decidim::Conference }
51
- validate :available_slots_greater_than_or_equal_to_registrations_count, if: ->(form) { form.registrations_enabled? && form.available_slots.positive? }
52
+ validate :available_slots_greater_than_or_equal_to_registrations_count, if: ->(form) { form.registrations_enabled? && form.available_slots.try(:positive?) }
52
53
 
53
54
  validates :start_date, presence: true, date: { before_or_equal_to: :end_date }
54
55
  validates :end_date, presence: true, date: { after_or_equal_to: :start_date }
@@ -39,7 +39,7 @@
39
39
  <div class="card" id="conference-invites">
40
40
  <div class="card-divider">
41
41
  <h2 class="card-title">
42
- <%= title %> - <%= t(".invites") %>
42
+ <%= t(".invites") %>
43
43
  <%= link_to t(".invite_attendee"), conference.registrations_enabled ? new_conference_conference_invite_path(conference) : "#", class: "button tiny button--title #{'disabled' unless conference.registrations_enabled && allowed_to?(:invite_attendee, :conference, conference: conference) }" %>
44
44
  </h2>
45
45
  </div>
@@ -1,7 +1,7 @@
1
1
  <div class="card" id="conference-registrations">
2
2
  <div class="card-divider">
3
3
  <h2 class="card-title">
4
- <%= title %> - <%= t(".registrations") %>
4
+ <%= t(".registrations") %>
5
5
  <% if allowed_to? :export_conference_registrations, :conference, conference: conference %>
6
6
  <span class="exports dropdown tiny button button--simple button--title" data-toggle="export-dropdown"><%= t "actions.export", scope: "decidim.admin" %></span>
7
7
  <div class="dropdown-pane" id="export-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true">
@@ -22,6 +22,12 @@ ar:
22
22
  slogan: شعار
23
23
  slug: سبيكة العنوان الشبكي
24
24
  title: عنوان
25
+ conference_media_link:
26
+ weight: وزن
27
+ conference_partner:
28
+ weight: وزن
29
+ conference_registration_type:
30
+ weight: وزن
25
31
  conference_speaker:
26
32
  full_name: الاسم الكامل
27
33
  conference_user_role:
@@ -3,6 +3,7 @@ ca:
3
3
  attributes:
4
4
  conference:
5
5
  assemblies_ids: Assemblees relacionades
6
+ available_slots: Llocs lliures
6
7
  banner_image: Imatge de banner
7
8
  consultations_ids: Consultes relacionades
8
9
  copy_categories: Copiar categories
@@ -10,20 +11,59 @@ ca:
10
11
  copy_features: Copiar funcionalitats
11
12
  decidim_scope_id: Àmbit
12
13
  description: Descripció
14
+ end_date: Data de fi
13
15
  hashtag: Hashtag
14
16
  hero_image: Imatge de la pàgina d'inici
17
+ location: Situació
18
+ main_logo: Logo principal
19
+ objectives: Objectius
15
20
  participatory_processes_ids: Processos participatius relacionats
16
21
  promoted: Destacada
17
22
  published_at: Publicat a
23
+ registration_terms: Condicions d'inscripció
24
+ registrations_enabled: Inscripcions habilitades
18
25
  scope_id: Àmbit
19
26
  scopes_enabled: Àmbits habilitats
20
27
  short_description: Breu descripció
21
28
  show_statistics: Mostrar estadístiques
29
+ sign_date: Data de signatura
30
+ signature: Signatura
31
+ signature_name: nom de la signatura
22
32
  slogan: Eslògan
23
33
  slug: URL amigable
34
+ start_date: Data d'inici
35
+ title: Títol
36
+ conference_media_link:
37
+ date: Data
38
+ link: Enllaç
39
+ title: Títol
40
+ weight: Pes
41
+ conference_partner:
42
+ link: Enllaç
43
+ logo: Logo
44
+ name: Nom
45
+ partner_type: Tipus de col·laboració
46
+ weight: Pes
47
+ conference_registration_invite:
48
+ email: Correu electrònic
49
+ name: Nom
50
+ registration_type_id: Tipus d'inscripció
51
+ user_id: Usuària
52
+ conference_registration_type:
53
+ description: Descripció
54
+ price: Cost
24
55
  title: Títol
56
+ weight: Pes
25
57
  conference_speaker:
58
+ affiliation: Membre
59
+ avatar: Imatge de perfil
60
+ conference_meeting_ids: Trobades relacionades
26
61
  full_name: Nom complet
62
+ personal_url: URL personal
63
+ position: Càrrec
64
+ short_bio: Resum biogràfic
65
+ twitter_handle: Compte de Twitter
66
+ user_id: Usuària
27
67
  conference_user_role:
28
68
  email: Correu electrònic
29
69
  name: Nom
@@ -3,6 +3,7 @@ cs:
3
3
  attributes:
4
4
  conference:
5
5
  assemblies_ids: Související shromáždění
6
+ available_slots: Dostupné sloty
6
7
  banner_image: Obrázek banneru
7
8
  consultations_ids: Související konzultace
8
9
  copy_categories: Kopírovat kategorie
@@ -10,20 +11,59 @@ cs:
10
11
  copy_features: Funkce kopírování
11
12
  decidim_scope_id: Oblast působnosti
12
13
  description: Popis
14
+ end_date: Datum ukončení
13
15
  hashtag: Hashtag
14
16
  hero_image: Obrázek na hlavní stránce
17
+ location: Lokalita
18
+ main_logo: Hlavní logo
19
+ objectives: Cíle
15
20
  participatory_processes_ids: Související procesy účasti
16
21
  promoted: Propagováno
17
22
  published_at: Publikováno v
23
+ registration_terms: Podmínky registrace
24
+ registrations_enabled: Registrace povoleny
18
25
  scope_id: Oblast působnosti
19
26
  scopes_enabled: Oblasti působnosti povoleny
20
27
  short_description: Stručný popis
21
28
  show_statistics: Zobrazit statistiky
29
+ sign_date: Datum podpisu
30
+ signature: Podpis
31
+ signature_name: podpisové jméno
22
32
  slogan: Motto
23
33
  slug: URL slug
34
+ start_date: Datum zahájení
24
35
  title: Titul
36
+ conference_media_link:
37
+ date: Datum
38
+ link: Odkaz
39
+ title: Název
40
+ weight: Váha
41
+ conference_partner:
42
+ link: Odkaz
43
+ logo: Logo
44
+ name: Název
45
+ partner_type: Typ partnera
46
+ weight: Váha
47
+ conference_registration_invite:
48
+ email: E-mail
49
+ name: Jméno
50
+ registration_type_id: Typ registrace
51
+ user_id: Uživatel
52
+ conference_registration_type:
53
+ description: Popis
54
+ price: Cena
55
+ title: Oslovení
56
+ weight: Váha
25
57
  conference_speaker:
58
+ affiliation: Příslušnost
59
+ avatar: Avatar
60
+ conference_meeting_ids: Související schůzky
26
61
  full_name: Celé jméno
62
+ personal_url: Osobní adresa Url
63
+ position: Pozice
64
+ short_bio: Krátký životopis
65
+ twitter_handle: Twitter účet
66
+ user_id: Uživatel
27
67
  conference_user_role:
28
68
  email: E-mail
29
69
  name: název
@@ -309,7 +349,7 @@ cs:
309
349
  index:
310
350
  filter:
311
351
  accepted: Přijato
312
- all: Všechno
352
+ all: Vše
313
353
  rejected: Odmítnuto
314
354
  sent: Odesláno
315
355
  filter_by: Filtrovat podle
@@ -22,6 +22,12 @@ de:
22
22
  slogan: Slogan
23
23
  slug: URL-Block
24
24
  title: Titel
25
+ conference_media_link:
26
+ weight: Gewicht
27
+ conference_partner:
28
+ weight: Gewicht
29
+ conference_registration_type:
30
+ weight: Gewicht
25
31
  conference_speaker:
26
32
  full_name: Vollständiger Name
27
33
  conference_user_role:
@@ -22,6 +22,12 @@ el:
22
22
  slogan: Σύνθημα
23
23
  slug: Slug διεύθυνσης URL
24
24
  title: Τίτλος
25
+ conference_media_link:
26
+ weight: Βάρος
27
+ conference_partner:
28
+ weight: Βάρος
29
+ conference_registration_type:
30
+ weight: Βάρος
25
31
  conference_speaker:
26
32
  full_name: Ονοματεπώνυμο
27
33
  conference_user_role:
@@ -4,6 +4,7 @@ en:
4
4
  attributes:
5
5
  conference:
6
6
  assemblies_ids: Related Assemblies
7
+ available_slots: Available slots
7
8
  banner_image: Banner image
8
9
  consultations_ids: Related Consultations
9
10
  copy_categories: Copy categories
@@ -11,20 +12,59 @@ en:
11
12
  copy_features: Copy features
12
13
  decidim_scope_id: Scope
13
14
  description: Description
15
+ end_date: End date
14
16
  hashtag: Hashtag
15
17
  hero_image: Home image
18
+ location: Location
19
+ main_logo: Main logo
20
+ objectives: Objectives
16
21
  participatory_processes_ids: Related participatory processes
17
22
  promoted: Highlighted
18
23
  published_at: Published at
24
+ registration_terms: Registration terms
25
+ registrations_enabled: Registrations enabled
19
26
  scope_id: Scope
20
27
  scopes_enabled: Scopes enabled
21
28
  short_description: Short description
22
29
  show_statistics: Show statistics
30
+ sign_date: Sign date
31
+ signature: Signature
32
+ signature_name: signature name
23
33
  slogan: Slogan
24
34
  slug: URL slug
35
+ start_date: Start date
36
+ title: Title
37
+ conference_media_link:
38
+ date: Date
39
+ link: Link
40
+ title: Title
41
+ weight: Weight
42
+ conference_partner:
43
+ link: Link
44
+ logo: Logo
45
+ name: Name
46
+ partner_type: Partner type
47
+ weight: Weight
48
+ conference_registration_invite:
49
+ email: Email
50
+ name: Name
51
+ registration_type_id: Registration type
52
+ user_id: User
53
+ conference_registration_type:
54
+ description: Description
55
+ price: Price
25
56
  title: Title
57
+ weight: Weight
26
58
  conference_speaker:
59
+ affiliation: Affiliation
60
+ avatar: Avatar
61
+ conference_meeting_ids: Related meetings
27
62
  full_name: Full name
63
+ personal_url: Personal url
64
+ position: Position
65
+ short_bio: Short Bio
66
+ twitter_handle: Twitter handle
67
+ user_id: User
28
68
  conference_user_role:
29
69
  email: Email
30
70
  name: Name
@@ -22,6 +22,12 @@ es-MX:
22
22
  slogan: Eslogan
23
23
  slug: URL amigable
24
24
  title: Título
25
+ conference_media_link:
26
+ weight: Peso
27
+ conference_partner:
28
+ weight: Peso
29
+ conference_registration_type:
30
+ weight: Peso
25
31
  conference_speaker:
26
32
  full_name: Nombre completo
27
33
  conference_user_role:
@@ -22,6 +22,12 @@ es-PY:
22
22
  slogan: Eslogan
23
23
  slug: URL amigable
24
24
  title: Título
25
+ conference_media_link:
26
+ weight: Peso
27
+ conference_partner:
28
+ weight: Peso
29
+ conference_registration_type:
30
+ weight: Peso
25
31
  conference_speaker:
26
32
  full_name: Nombre completo
27
33
  conference_user_role:
@@ -22,6 +22,12 @@ es:
22
22
  slogan: Eslogan
23
23
  slug: URL amigable
24
24
  title: Título
25
+ conference_media_link:
26
+ weight: Peso
27
+ conference_partner:
28
+ weight: Peso
29
+ conference_registration_type:
30
+ weight: Peso
25
31
  conference_speaker:
26
32
  full_name: Nombre completo
27
33
  conference_user_role:
@@ -22,6 +22,12 @@ eu:
22
22
  slogan: leloa
23
23
  slug: URL slug
24
24
  title: Izenburua
25
+ conference_media_link:
26
+ weight: pisu
27
+ conference_partner:
28
+ weight: pisu
29
+ conference_registration_type:
30
+ weight: pisu
25
31
  conference_speaker:
26
32
  full_name: Izen osoa
27
33
  conference_user_role:
@@ -3,6 +3,7 @@ fi-pl:
3
3
  attributes:
4
4
  conference:
5
5
  assemblies_ids: Liittyvät ryhmät
6
+ available_slots: Vapaat paikat
6
7
  banner_image: Bannerikuva
7
8
  consultations_ids: Liittyvät kuulemiset
8
9
  copy_categories: Kopioi aihepiirit
@@ -10,20 +11,59 @@ fi-pl:
10
11
  copy_features: Kopioi ominaisuudet
11
12
  decidim_scope_id: Teema
12
13
  description: Kuvaus
14
+ end_date: Päättymispäivä
13
15
  hashtag: Aihetunniste (hashtag)
14
16
  hero_image: Etusivun kuva
17
+ location: Sijainti
18
+ main_logo: Päälogo
19
+ objectives: Tavoitteet
15
20
  participatory_processes_ids: Liittyvät osallisuusprosessit
16
21
  promoted: Korostettu
17
22
  published_at: Julkaisuaika
23
+ registration_terms: Ilmoittautumisehdot
24
+ registrations_enabled: Ilmoittautumiset ovat käytössä
18
25
  scope_id: Teema
19
26
  scopes_enabled: Teemat käytössä
20
27
  short_description: Lyhyt kuvaus
21
28
  show_statistics: Näytä tilastot
29
+ sign_date: Allekirjoituksen päivämäärä
30
+ signature: Allekirjoitus
31
+ signature_name: allekirjoituksen nimi
22
32
  slogan: Iskulause
23
33
  slug: URL-tunniste
34
+ start_date: Alkamispäivä
35
+ title: Otsikko
36
+ conference_media_link:
37
+ date: Päivämäärä
38
+ link: Linkki
39
+ title: Otsikko
40
+ weight: Painoarvo
41
+ conference_partner:
42
+ link: Linkki
43
+ logo: Logo
44
+ name: Nimi
45
+ partner_type: Kumppanin tyyppi
46
+ weight: Painoarvo
47
+ conference_registration_invite:
48
+ email: Sähköposti
49
+ name: Nimi
50
+ registration_type_id: Ilmoittautumistyyppi
51
+ user_id: Käyttäjä
52
+ conference_registration_type:
53
+ description: Kuvaus
54
+ price: Hinta
24
55
  title: Otsikko
56
+ weight: Painoarvo
25
57
  conference_speaker:
58
+ affiliation: Jäsenyys
59
+ avatar: Avatar
60
+ conference_meeting_ids: Liittyvät tapaamiset
26
61
  full_name: Koko nimi
62
+ personal_url: Henkilökohtainen URL-osoite
63
+ position: Asema
64
+ short_bio: Lyhyt henkilökuvaus
65
+ twitter_handle: Twitter-käyttäjänimi
66
+ user_id: Käyttäjä
27
67
  conference_user_role:
28
68
  email: Sähköposti
29
69
  name: Nimi
@@ -3,6 +3,7 @@ fi:
3
3
  attributes:
4
4
  conference:
5
5
  assemblies_ids: Liittyvät ryhmät
6
+ available_slots: Vapaat paikat
6
7
  banner_image: Bannerikuva
7
8
  consultations_ids: Liittyvät kuulemiset
8
9
  copy_categories: Kopioi aihepiirit
@@ -10,20 +11,59 @@ fi:
10
11
  copy_features: Kopioi ominaisuudet
11
12
  decidim_scope_id: Teema
12
13
  description: Kuvaus
14
+ end_date: Päättymispäivä
13
15
  hashtag: Aihetunniste (hashtag)
14
16
  hero_image: Etusivun kuva
17
+ location: Sijainti
18
+ main_logo: Päälogo
19
+ objectives: Tavoitteet
15
20
  participatory_processes_ids: Liittyvät osallistumisprosessit
16
21
  promoted: Korostettu
17
22
  published_at: Julkaisuaika
23
+ registration_terms: Ilmoittautumisehdot
24
+ registrations_enabled: Ilmoittautumiset ovat käytössä
18
25
  scope_id: Teema
19
26
  scopes_enabled: Teemat käytössä
20
27
  short_description: Lyhyt kuvaus
21
28
  show_statistics: Näytä tilastot
29
+ sign_date: Allekirjoituksen päivämäärä
30
+ signature: Allekirjoitus
31
+ signature_name: allekirjoituksen nimi
22
32
  slogan: Iskulause
23
33
  slug: URL-tunniste
34
+ start_date: Alkamispäivä
35
+ title: Otsikko
36
+ conference_media_link:
37
+ date: Päivämäärä
38
+ link: Linkki
39
+ title: Otsikko
40
+ weight: Painoarvo
41
+ conference_partner:
42
+ link: Linkki
43
+ logo: Logo
44
+ name: Nimi
45
+ partner_type: Kumppanin tyyppi
46
+ weight: Painoarvo
47
+ conference_registration_invite:
48
+ email: Sähköposti
49
+ name: Nimi
50
+ registration_type_id: Ilmoittautumistyyppi
51
+ user_id: Käyttäjä
52
+ conference_registration_type:
53
+ description: Kuvaus
54
+ price: Hinta
24
55
  title: Otsikko
56
+ weight: Painoarvo
25
57
  conference_speaker:
58
+ affiliation: Jäsenyys
59
+ avatar: Avatar
60
+ conference_meeting_ids: Liittyvät tapaamiset
26
61
  full_name: Koko nimi
62
+ personal_url: Henkilökohtainen URL-osoite
63
+ position: Asema
64
+ short_bio: Lyhyt henkilökuvaus
65
+ twitter_handle: Twitter-käyttäjänimi
66
+ user_id: Käyttäjä
27
67
  conference_user_role:
28
68
  email: Sähköposti
29
69
  name: Nimi