decidim-conferences 0.32.0.rc2 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/forms/decidim/conferences/admin/conference_duplicate_form.rb +1 -1
- data/app/forms/decidim/conferences/admin/conference_form.rb +1 -1
- data/app/helpers/decidim/conferences/conference_helper.rb +2 -2
- data/app/views/decidim/conferences/admin/conferences/_actions.html.erb +1 -1
- data/app/views/decidim/conferences/conference_program/show.html.erb +1 -1
- data/app/views/decidim/conferences/conference_speakers/index.html.erb +1 -1
- data/app/views/decidim/conferences/conferences/show.html.erb +1 -1
- data/app/views/decidim/conferences/media/index.html.erb +1 -1
- data/app/views/decidim/conferences/registration_types/index.html.erb +1 -1
- data/config/locales/eu.yml +4 -4
- data/config/locales/sk.yml +4 -4
- data/decidim-conferences.gemspec +1 -1
- data/lib/decidim/conferences/test/factories.rb +4 -0
- data/lib/decidim/conferences/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c728cbbcbc75dd3e414ae5c3344e8ba0be7fe91d191259679e6b1debfdfa80b5
|
|
4
|
+
data.tar.gz: de61e8333515bfc13385d9946b57247ef8164fe177e64a78ab03271a4bc2e1d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3b641635c14bee60eb945480ac62684a0ea9b7c5f781d75506b57e50e58ce93c2b124226913461d36d2c8368768de5afcd307f26623ac265fdf6ef93d80af59
|
|
7
|
+
data.tar.gz: 35aee6d4cef2b53ff77beb12963cd157aa18c2bc584a776ca782f3f1d0da17a47b0f687596a4266e17dc44168900593ca8557e7764e4a22dadc0b0771ff9714b
|
|
@@ -23,7 +23,7 @@ module Decidim
|
|
|
23
23
|
private
|
|
24
24
|
|
|
25
25
|
def slug_uniqueness
|
|
26
|
-
return unless OrganizationConferences.new(current_organization).query.where(slug:).where.not(id:).any?
|
|
26
|
+
return unless OrganizationConferences.new(current_organization).query.with_deleted.where(slug:).where.not(id:).any?
|
|
27
27
|
|
|
28
28
|
errors.add(:slug, :taken)
|
|
29
29
|
end
|
|
@@ -90,7 +90,7 @@ module Decidim
|
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
def slug_uniqueness
|
|
93
|
-
return unless OrganizationConferences.new(current_organization).query.where(slug:).where.not(id: context[:conference_id]).any?
|
|
93
|
+
return unless OrganizationConferences.new(current_organization).query.where(slug:).with_deleted.where.not(id: context[:conference_id]).any?
|
|
94
94
|
|
|
95
95
|
errors.add(:slug, :taken)
|
|
96
96
|
end
|
|
@@ -42,7 +42,7 @@ module Decidim
|
|
|
42
42
|
next unless Decidim::Meetings::Meeting.where(component:).published.not_hidden.visible_for(current_user).exists?
|
|
43
43
|
|
|
44
44
|
items << {
|
|
45
|
-
name:
|
|
45
|
+
name: translated_attribute(component.name),
|
|
46
46
|
url: decidim_conferences.conference_conference_program_path(participatory_space, id: component.id)
|
|
47
47
|
}
|
|
48
48
|
end
|
|
@@ -63,7 +63,7 @@ module Decidim
|
|
|
63
63
|
|
|
64
64
|
other_components.each do |component|
|
|
65
65
|
items << {
|
|
66
|
-
name:
|
|
66
|
+
name: translated_attribute(component.name),
|
|
67
67
|
url: main_component_path(component)
|
|
68
68
|
}
|
|
69
69
|
end
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
<% if conference.published? %>
|
|
89
89
|
<li class="dropdown__item">
|
|
90
90
|
<div class="dropdown__button-disabled">
|
|
91
|
-
<%= with_tooltip t("tooltips.deleted_conferences_info", scope: "decidim.admin") do %>
|
|
91
|
+
<%= with_tooltip t("tooltips.deleted_conferences_info", scope: "decidim.admin"), class: :left do %>
|
|
92
92
|
<%= icon "delete-bin-line", class: "text-gray" %>
|
|
93
93
|
<span>
|
|
94
94
|
<%= t("decidim.admin.actions.soft_delete") %>
|
|
@@ -14,7 +14,7 @@ end
|
|
|
14
14
|
%>
|
|
15
15
|
|
|
16
16
|
<%# NOTE: this page does not use a regular layout %>
|
|
17
|
-
<main class="container">
|
|
17
|
+
<main class="container" role="main">
|
|
18
18
|
<h1 class="title-decorator my-12">
|
|
19
19
|
<span class="not-sr-only"><%= t(".program") %></span>
|
|
20
20
|
<span class="sr-only"><%= t(".program") %> (<%= translated_attribute current_participatory_space.title %>)</span>
|
|
@@ -20,7 +20,7 @@ edit_link(
|
|
|
20
20
|
include the hero inside the two-column layout.
|
|
21
21
|
Therefore is mandatory to pass the "main_enabled: false" flag
|
|
22
22
|
to the layout_two_col for disabling the original main. %>
|
|
23
|
-
<main>
|
|
23
|
+
<main role="main">
|
|
24
24
|
|
|
25
25
|
<%= content_for :aside do %>
|
|
26
26
|
<div class="conference__nav-container">
|
|
@@ -13,7 +13,7 @@ edit_link(
|
|
|
13
13
|
%>
|
|
14
14
|
|
|
15
15
|
<%# NOTE: this page does not use a regular layout %>
|
|
16
|
-
<main class="container">
|
|
16
|
+
<main class="container" role="main">
|
|
17
17
|
<h1 class="title-decorator my-12">
|
|
18
18
|
<span class="not-sr-only"><%= t("media", scope: "layouts.decidim.conferences_nav") %></span>
|
|
19
19
|
<span class="sr-only"><%= t("media", scope: "layouts.decidim.conferences_nav") %> (<%= translated_attribute current_participatory_space.title %>)</span>
|
data/config/locales/eu.yml
CHANGED
|
@@ -216,7 +216,7 @@ eu:
|
|
|
216
216
|
actions: Ekintzak
|
|
217
217
|
affiliation: Afiliazioa
|
|
218
218
|
full_name: Izen osoa
|
|
219
|
-
position:
|
|
219
|
+
position: Kokapena
|
|
220
220
|
name: Hizlaria
|
|
221
221
|
conference_user_role:
|
|
222
222
|
fields:
|
|
@@ -610,7 +610,7 @@ eu:
|
|
|
610
610
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> jardunaldiak erregistroak gaitu ditu.
|
|
611
611
|
role_assigned:
|
|
612
612
|
email_intro: '%{role} rola esleitu zaizu <a href="%{resource_title}"> jardunaldian.'
|
|
613
|
-
email_outro: Jakinarazpen hau jaso duzu %{role} rola esleitu dizutelako "%{resource_title}"
|
|
613
|
+
email_outro: Jakinarazpen hau jaso duzu %{role} rola esleitu dizutelako "%{resource_title}" jardunaldian.
|
|
614
614
|
email_subject: '%{role} rola esleitu zaizu <a href="%{resource_title}"> batzarrean.'
|
|
615
615
|
notification_title: '%{role} rola esleitu zaizu <a href="%{resource_url}">%{resource_title}</a> batzarrean.'
|
|
616
616
|
upcoming_conference:
|
|
@@ -637,7 +637,7 @@ eu:
|
|
|
637
637
|
open_data:
|
|
638
638
|
help:
|
|
639
639
|
conferences:
|
|
640
|
-
component_settings:
|
|
640
|
+
component_settings: Jardunaldi-espazioaren osagaien konfigurazioa
|
|
641
641
|
created_at: Zein datatan sortu da jardunaldi hau
|
|
642
642
|
decidim_scope_id: Jardunaldiaren esparrua
|
|
643
643
|
description: Jardunaldiaren deskribapen luzea
|
|
@@ -681,7 +681,7 @@ eu:
|
|
|
681
681
|
promoted_conferences: Sustatutako jardunaldiak
|
|
682
682
|
order_by_conferences:
|
|
683
683
|
conferences:
|
|
684
|
-
one: "
|
|
684
|
+
one: "%{count} jardunaldi"
|
|
685
685
|
other: "%{count} jardunaldi"
|
|
686
686
|
conferences_nav:
|
|
687
687
|
conference_partners_menu_item: Kideak
|
data/config/locales/sk.yml
CHANGED
|
@@ -514,7 +514,7 @@ sk:
|
|
|
514
514
|
show:
|
|
515
515
|
already_have_an_account?: Už máte účet?
|
|
516
516
|
are_you_new?: Nový účastník?
|
|
517
|
-
login_as: Ste prihlásení ako %{name} %{email}
|
|
517
|
+
login_as: Ste prihlásení ako %{name} %{email}
|
|
518
518
|
make_conference_registration: Zaregistrovať sa na konferenciu
|
|
519
519
|
manage_registration: Spravovať registráciu
|
|
520
520
|
register: Registrovať
|
|
@@ -604,10 +604,10 @@ sk:
|
|
|
604
604
|
conference_registration_validation_pending:
|
|
605
605
|
notification_title: Vaša registrácia na konferencii <a href="%{resource_url}">%{resource_title}</a> čaká na potvrdenie.
|
|
606
606
|
conference_registrations_over_percentage:
|
|
607
|
-
email_intro: Konferencia "%{resource_title}" je obsadená na viac, než%{percentage} %.
|
|
607
|
+
email_intro: Konferencia "%{resource_title}" je obsadená na viac, než%{percentage} %.
|
|
608
608
|
email_outro: Túto notifikáciu ste dostali, pretože ste administrátorom participatívneho priestoru konferencie.
|
|
609
|
-
email_subject: Konferencia "%{resource_title}" je obsadená na viac, než%{percentage} %.
|
|
610
|
-
notification_title: Konferencia <a href="%{resource_path}">%{resource_title}</a> je obsadená na viac, než %{percentage} %.
|
|
609
|
+
email_subject: Konferencia "%{resource_title}" je obsadená na viac, než%{percentage} %.
|
|
610
|
+
notification_title: Konferencia <a href="%{resource_path}">%{resource_title}</a> je obsadená na viac, než %{percentage} %.
|
|
611
611
|
conference_updated:
|
|
612
612
|
email_intro: 'Konferencia "%{resource_title}" bola aktualizovaná. Novú verziu si môžete pozrieť na jej stránke:'
|
|
613
613
|
email_outro: Túto notifikáciu ste dostali, pretože sledujete konferenciu "%{resource_title}". Notifikácie môžete zrušiť po kliknutí na predchádzajúci odkaz.
|
data/decidim-conferences.gemspec
CHANGED
|
@@ -44,6 +44,10 @@ FactoryBot.define do
|
|
|
44
44
|
published_at { Time.current }
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
+
trait :trashed do
|
|
48
|
+
deleted_at { Time.current }
|
|
49
|
+
end
|
|
50
|
+
|
|
47
51
|
trait :diploma do
|
|
48
52
|
main_logo { Decidim::Dev.test_file("avatar.jpg", "image/jpeg") }
|
|
49
53
|
signature { Decidim::Dev.test_file("avatar.jpg", "image/jpeg") }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-conferences
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.32.0
|
|
4
|
+
version: 0.32.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Isaac Massot Gil
|
|
@@ -15,56 +15,56 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.32.0
|
|
18
|
+
version: 0.32.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.32.0
|
|
25
|
+
version: 0.32.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: decidim-meetings
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - '='
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.32.0
|
|
32
|
+
version: 0.32.0
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - '='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.32.0
|
|
39
|
+
version: 0.32.0
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: decidim-admin
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - '='
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 0.32.0
|
|
46
|
+
version: 0.32.0
|
|
47
47
|
type: :development
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - '='
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 0.32.0
|
|
53
|
+
version: 0.32.0
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: decidim-dev
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - '='
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 0.32.0
|
|
60
|
+
version: 0.32.0
|
|
61
61
|
type: :development
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - '='
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 0.32.0
|
|
67
|
+
version: 0.32.0
|
|
68
68
|
description: Conferences component for decidim.
|
|
69
69
|
email:
|
|
70
70
|
- isaac.mg@coditramuntana.com
|