thredded 0.13.5 → 0.13.6
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/README.md +1 -1
- data/app/assets/stylesheets/thredded/base/_variables.scss +4 -0
- data/app/assets/stylesheets/thredded/components/_topics.scss +12 -0
- data/app/controllers/thredded/posts_controller.rb +1 -1
- data/app/controllers/thredded/private_posts_controller.rb +1 -1
- data/app/views/thredded/topics/show.html.erb +4 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/pt-BR.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/lib/thredded/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c864a4b1ed0b4d38726be7df8dcdefdb99d14ab
|
|
4
|
+
data.tar.gz: 1310af3413e71199ec94f2ef69b23c01fd1c572c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4840d80355f2e8560833aca29d2ee25cea89e6621ec0035a584044998e64a8b968f179d8bcc26e4bbe9403278694a7f392efca234e1209337cc0ca31c29e84db
|
|
7
|
+
data.tar.gz: 06cc507e88323255fb3e0c07e75559bd0158e9759309ea3e99df36b5a706841ed54b5ee0f625f899004254fff0eb1aa2cd081774d30bc1a5ae9c0dc62edb0be0
|
data/README.md
CHANGED
|
@@ -98,7 +98,7 @@ Then, see the rest of this Readme for more information about using and customizi
|
|
|
98
98
|
Add the gem to your Gemfile:
|
|
99
99
|
|
|
100
100
|
```ruby
|
|
101
|
-
gem 'thredded', '~> 0.13.
|
|
101
|
+
gem 'thredded', '~> 0.13.6'
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
Add the Thredded [initializer] to your parent app by running the install generator.
|
|
@@ -91,6 +91,10 @@ $thredded-badge-active-background: $thredded-action-color !default;
|
|
|
91
91
|
$thredded-badge-inactive-color: $thredded-button-color !default;
|
|
92
92
|
$thredded-badge-inactive-background: rgba($thredded-text-color, 0.3) !default;
|
|
93
93
|
|
|
94
|
+
// Locked topics
|
|
95
|
+
$thredded-badge-locked-color: $thredded-alert-warning-background;
|
|
96
|
+
$thredded-badge-locked-background: $thredded-alert-warning-color;
|
|
97
|
+
|
|
94
98
|
// Onebox
|
|
95
99
|
$thredded-onebox-favicons: (
|
|
96
100
|
'amazon': 'favicons/amazon.png',
|
|
@@ -172,3 +172,15 @@
|
|
|
172
172
|
display: none;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
+
|
|
176
|
+
.thredded--topic-locked {
|
|
177
|
+
.thredded--topics--posts-count {
|
|
178
|
+
color: $thredded-badge-locked-color;
|
|
179
|
+
background-color: $thredded-badge-locked-background;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.thredded--topic--locked-notice {
|
|
184
|
+
@extend %thredded--alert;
|
|
185
|
+
@extend %thredded--alert--warning;
|
|
186
|
+
}
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
<footer class="thredded--pagination-bottom"><%= paginate @posts %></footer>
|
|
21
21
|
<% end %>
|
|
22
22
|
|
|
23
|
+
<% if topic.locked? %>
|
|
24
|
+
<p class="thredded--topic--locked-notice"><%= t 'thredded.topics.locked.message'%></p>
|
|
25
|
+
<% end %>
|
|
26
|
+
|
|
23
27
|
<% if policy(@new_post.post).create? %>
|
|
24
28
|
<div class="thredded--post-form--wrapper">
|
|
25
29
|
<h3 class="thredded--post-form--title"><%= t('thredded.posts.form.title_label') %></h3>
|
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/fr.yml
CHANGED
data/config/locales/pl.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/ru.yml
CHANGED
data/lib/thredded/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thredded
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.
|
|
4
|
+
version: 0.13.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joel Oliveira
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-10-
|
|
12
|
+
date: 2017-10-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: pundit
|