decidim-blogs 0.28.2 → 0.28.3

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: eb0a151a5682b456354c2679f35e5dfefa04a542df5507817a39a445b707f68d
4
- data.tar.gz: 4a4e886eb3e23c322fb8ba28f042c1aa3055687a312b2f58cbb1c432e5334d44
3
+ metadata.gz: 22a486bebf83e806ff85b5565cb3410835e23eeb04732e2e80baf2de6ada9f12
4
+ data.tar.gz: cf159deb2290a8d85223018106890a1069e932970572e48ed77eac36e465aa6b
5
5
  SHA512:
6
- metadata.gz: ba1d7ae738533274f8f043fbf2bfbedf075b28fcb36be1bcb7f2a073677b989e8712fd112ab21a429f2d49715334613a6545de2f1a83f507b9b509afd2a910e7
7
- data.tar.gz: ad065512eb43f433446a5a5e83b5a1f3c1678123a786dcd7f18a67290f7ec924ca4552e52219aeb4a3c8fd495e353fc8976a00a1ce4c39e64964bc332720c5c7
6
+ metadata.gz: 298f66fb03478bc19e8cb9594cfdb331d8e347f27db11c3a27753a65f7e981ed715d7bc68b212bd475e7356effbb6135ad8914aeff8fb4d3e5c966a999301c80
7
+ data.tar.gz: 878cf076a54c8bc6b65e9d2b2e2bb6b3b4eefe3b9e7aac943964d5d39d7872c1527dd1132a53e1bf36ccda434cf4fa1764f516d1dfd04218925eac3ba97bf161
@@ -9,10 +9,6 @@ module Decidim
9
9
 
10
10
  private
11
11
 
12
- def has_image?
13
- resource_image_path.present?
14
- end
15
-
16
12
  def show_description?
17
13
  true
18
14
  end
@@ -21,7 +17,7 @@ module Decidim
21
17
  "decidim/blogs/post_metadata_g"
22
18
  end
23
19
 
24
- def resource_image_path
20
+ def resource_image_url
25
21
  return if photo.blank?
26
22
 
27
23
  photo.url
@@ -9,10 +9,6 @@ module Decidim
9
9
 
10
10
  private
11
11
 
12
- def has_image?
13
- true
14
- end
15
-
16
12
  def has_description?
17
13
  true
18
14
  end
@@ -25,7 +21,7 @@ module Decidim
25
21
  "decidim/blogs/post_metadata"
26
22
  end
27
23
 
28
- def resource_image_path
24
+ def resource_image_url
29
25
  return if photo.blank?
30
26
 
31
27
  photo.url
@@ -5,6 +5,7 @@ sv:
5
5
  post:
6
6
  body: Innehåll
7
7
  decidim_author_id: Författare
8
+ published_at: Publicerad
8
9
  title: Titel
9
10
  models:
10
11
  decidim/blogs/create_post_event: Nytt blogginlägg
@@ -24,18 +25,31 @@ sv:
24
25
  title: Åtgärder
25
26
  admin:
26
27
  posts:
28
+ create:
29
+ invalid: Det gick inte att skapa inlägget.
30
+ success: Inlägget har skapats.
31
+ destroy:
32
+ success: Inlägget har raderats.
27
33
  edit:
28
34
  save: Uppdatera
29
35
  title: Redigera inlägg
30
36
  index:
37
+ not_published_yet: Ej publicerat.
31
38
  title: Inlägg
32
39
  new:
33
40
  create: Skapa
34
41
  title: Skapa inlägg
35
42
  update:
36
43
  invalid: Det gick inte att spara inlägget.
44
+ success: Inlägget har sparats.
45
+ admin_log:
46
+ post:
47
+ create: "%{user_name} skapade blogginlägget %{resource_name} i %{space_name}"
48
+ delete: "%{user_name} raderade blogginlägget %{resource_name} från %{space_name}"
49
+ update: "%{user_name} uppdaterade blogginlägget %{resource_name} i %{space_name}"
37
50
  content_blocks:
38
51
  highlighted_posts:
52
+ last_published: Senast publicerade
39
53
  name: Inlägg
40
54
  see_all: Se alla inlägg
41
55
  last_activity:
@@ -46,7 +60,11 @@ sv:
46
60
  author: Författare
47
61
  body: Innehåll
48
62
  official_blog_post: Officiellt inlägg
63
+ published_at: Publicerad
49
64
  title: Titel
65
+ posts:
66
+ index:
67
+ empty: Det finns inga inlägg ännu.
50
68
  components:
51
69
  blogs:
52
70
  actions:
@@ -60,7 +78,7 @@ sv:
60
78
  global:
61
79
  announcement: Meddelande
62
80
  comments_enabled: Kommentarer aktiverade
63
- comments_max_length: Maximal längd för kommentarer (Lämna 0 för standardvärde)
81
+ comments_max_length: Maximal kommentarslängd (ange 0 för att använda standardvärdet)
64
82
  step:
65
83
  announcement: Meddelande
66
84
  comments_blocked: Kommentarer blockerade
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-pages version.
5
5
  module Blogs
6
6
  def self.version
7
- "0.28.2"
7
+ "0.28.3"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-blogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.2
4
+ version: 0.28.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-16 00:00:00.000000000 Z
11
+ date: 2024-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,98 +16,98 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.28.2
19
+ version: 0.28.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.28.2
26
+ version: 0.28.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.28.2
33
+ version: 0.28.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.28.2
40
+ version: 0.28.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.28.2
47
+ version: 0.28.3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.28.2
54
+ version: 0.28.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-admin
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.28.2
61
+ version: 0.28.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.28.2
68
+ version: 0.28.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-assemblies
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.28.2
75
+ version: 0.28.3
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.28.2
82
+ version: 0.28.3
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: decidim-dev
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.28.2
89
+ version: 0.28.3
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.28.2
96
+ version: 0.28.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: decidim-participatory_processes
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.28.2
103
+ version: 0.28.3
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.28.2
110
+ version: 0.28.3
111
111
  description: A Blog component for decidim's participatory spaces.
112
112
  email:
113
113
  - isaac.mg@coditramuntana.com