thredded-workgroup 0.2.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +23 -6
  3. data/.rubocop_todo.yml +392 -0
  4. data/.travis.yml +20 -28
  5. data/CHANGELOG.md +18 -0
  6. data/Gemfile +1 -0
  7. data/Guardfile +17 -40
  8. data/README.md +27 -10
  9. data/RELEASE_CHECKLIST.md +1 -2
  10. data/Rakefile +5 -0
  11. data/app/assets/config/thredded_workgroup_manifest.js +3 -0
  12. data/app/assets/images/thredded/workgroup/envelope-o.svg +2 -0
  13. data/app/assets/images/thredded/workgroup/envelope-open-o.svg +2 -0
  14. data/app/assets/javascripts/thredded/workgroup/components/followers.es6 +24 -0
  15. data/app/assets/javascripts/thredded/workgroup/components/overflow.es6 +60 -0
  16. data/app/assets/javascripts/thredded/workgroup/components/topics.es6 +151 -0
  17. data/app/assets/javascripts/thredded/workgroup/core/thredded_workgroup.js +1 -0
  18. data/app/assets/javascripts/thredded/workgroup/core/touch.es6 +16 -0
  19. data/app/assets/javascripts/thredded/workgroup/index.js +3 -0
  20. data/app/assets/javascripts/thredded-workgroup.js +1 -13
  21. data/app/assets/stylesheets/thredded/workgroup/_followers.scss +51 -0
  22. data/app/assets/stylesheets/thredded/workgroup/_navs.scss +29 -7
  23. data/app/assets/stylesheets/thredded/workgroup/_overflow.scss +71 -0
  24. data/app/assets/stylesheets/thredded/workgroup/_topics.scss +186 -16
  25. data/app/assets/stylesheets/thredded-workgroup.scss +2 -0
  26. data/app/controllers/concerns/thredded/workgroup/all_unread_followed_topics.rb +35 -0
  27. data/app/controllers/thredded/application_controller.rb +23 -0
  28. data/app/controllers/thredded/posts_controller.rb +3 -2
  29. data/app/controllers/thredded/workgroup/application_controller.rb +1 -0
  30. data/app/controllers/thredded/workgroup/navs_controller.rb +1 -0
  31. data/app/controllers/thredded/workgroup/read_states_controller.rb +14 -0
  32. data/app/controllers/thredded/workgroup/topics_controller.rb +18 -0
  33. data/app/helpers/thredded/application_helper.rb +1 -0
  34. data/app/helpers/thredded/workgroup/application_helper.rb +1 -0
  35. data/app/jobs/thredded/workgroup/mark_all_topics_read_job.rb +13 -0
  36. data/app/view_hooks/thredded/all_view_hooks.rb +9 -0
  37. data/app/view_hooks/thredded/workgroup/view_hooks.rb +28 -0
  38. data/app/view_models/thredded/topic_view.rb +17 -0
  39. data/app/view_models/thredded/topics_page_view.rb +1 -0
  40. data/app/views/thredded/shared/nav/_unread_topics.html.erb +1 -0
  41. data/app/views/thredded/topics/_followers.html.erb +23 -0
  42. data/app/views/thredded/topics/_topic.html.erb +25 -28
  43. data/app/views/thredded/workgroup/navs/_personal_nav.html.erb +7 -1
  44. data/app/views/thredded/workgroup/navs/all_topics.html.erb +1 -1
  45. data/app/views/thredded/workgroup/navs/awaiting.html.erb +1 -1
  46. data/app/views/thredded/workgroup/navs/following.html.erb +1 -1
  47. data/app/views/thredded/workgroup/navs/unread.html.erb +1 -1
  48. data/app/views/thredded/workgroup/topics/_controls.html.erb +21 -0
  49. data/app/views/thredded/workgroup/topics/_last_post.html.erb +11 -0
  50. data/app/views/thredded/workgroup/topics/_last_post_with_controls.html.erb +12 -0
  51. data/app/views/thredded/workgroup/topics/_topics_with_last_post.html.erb +16 -0
  52. data/bin/rails.rb +1 -0
  53. data/bin/rspec +1 -0
  54. data/bin/update_from_thredded +2 -1
  55. data/config/locales/en.yml +11 -0
  56. data/config/routes.rb +9 -0
  57. data/docs/followers-above-post.png +0 -0
  58. data/docs/navbar.png +0 -0
  59. data/lib/thredded/workgroup/engine.rb +11 -2
  60. data/lib/thredded/workgroup/thredded_route_delegator.rb +1 -0
  61. data/lib/thredded/workgroup/version.rb +2 -1
  62. data/lib/thredded/workgroup.rb +1 -0
  63. data/shared.gemfile +23 -16
  64. data/thredded-workgroup.gemspec +14 -18
  65. metadata +83 -88
  66. data/app/assets/javascripts/thredded/workgroup/follow.js +0 -36
  67. data/app/assets/javascripts/thredded/workgroup/topics.js +0 -18
  68. data/app/views/thredded/topics/_topics_with_last_post.html.erb +0 -14
metadata CHANGED
@@ -1,87 +1,59 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thredded-workgroup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Diggins
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-11 00:00:00.000000000 Z
11
+ date: 2022-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thredded
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.16'
19
+ version: 0.16.1
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.16'
26
+ version: 0.16.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.12'
33
+ version: '0'
34
34
  type: :development
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: '1.12'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '0'
48
48
  type: :development
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: '10.0'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '3.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '3.0'
69
- - !ruby/object:Gem::Dependency
70
- name: capybara
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '2.4'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '2.4'
83
- - !ruby/object:Gem::Dependency
84
- name: capybara-webkit
85
57
  requirement: !ruby/object:Gem::Requirement
86
58
  requirements:
87
59
  - - ">="
@@ -95,7 +67,7 @@ dependencies:
95
67
  - !ruby/object:Gem::Version
96
68
  version: '0'
97
69
  - !ruby/object:Gem::Dependency
98
- name: database_cleaner
70
+ name: capybara
99
71
  requirement: !ruby/object:Gem::Requirement
100
72
  requirements:
101
73
  - - ">="
@@ -170,58 +142,58 @@ dependencies:
170
142
  requirements:
171
143
  - - '='
172
144
  - !ruby/object:Gem::Version
173
- version: 0.41.2
145
+ version: 1.25.1
174
146
  type: :development
175
147
  prerelease: false
176
148
  version_requirements: !ruby/object:Gem::Requirement
177
149
  requirements:
178
150
  - - '='
179
151
  - !ruby/object:Gem::Version
180
- version: 0.41.2
152
+ version: 1.25.1
181
153
  - !ruby/object:Gem::Dependency
182
- name: transactional_capybara
154
+ name: rubocop-rails
183
155
  requirement: !ruby/object:Gem::Requirement
184
156
  requirements:
185
- - - ">="
157
+ - - '='
186
158
  - !ruby/object:Gem::Version
187
- version: '0'
159
+ version: 2.13.2
188
160
  type: :development
189
161
  prerelease: false
190
162
  version_requirements: !ruby/object:Gem::Requirement
191
163
  requirements:
192
- - - ">="
164
+ - - '='
193
165
  - !ruby/object:Gem::Version
194
- version: '0'
166
+ version: 2.13.2
195
167
  - !ruby/object:Gem::Dependency
196
- name: rails-i18n
168
+ name: rubocop-rspec
197
169
  requirement: !ruby/object:Gem::Requirement
198
170
  requirements:
199
- - - ">="
171
+ - - '='
200
172
  - !ruby/object:Gem::Version
201
- version: '0'
173
+ version: 2.8.0
202
174
  type: :development
203
175
  prerelease: false
204
176
  version_requirements: !ruby/object:Gem::Requirement
205
177
  requirements:
206
- - - ">="
178
+ - - '='
207
179
  - !ruby/object:Gem::Version
208
- version: '0'
180
+ version: 2.8.0
209
181
  - !ruby/object:Gem::Dependency
210
- name: kaminari-i18n
182
+ name: rubocop-performance
211
183
  requirement: !ruby/object:Gem::Requirement
212
184
  requirements:
213
- - - ">="
185
+ - - '='
214
186
  - !ruby/object:Gem::Version
215
- version: '0'
187
+ version: 1.13.2
216
188
  type: :development
217
189
  prerelease: false
218
190
  version_requirements: !ruby/object:Gem::Requirement
219
191
  requirements:
220
- - - ">="
192
+ - - '='
221
193
  - !ruby/object:Gem::Version
222
- version: '0'
194
+ version: 1.13.2
223
195
  - !ruby/object:Gem::Dependency
224
- name: http_accept_language
196
+ name: bundle-audit
225
197
  requirement: !ruby/object:Gem::Requirement
226
198
  requirements:
227
199
  - - ">="
@@ -235,7 +207,7 @@ dependencies:
235
207
  - !ruby/object:Gem::Version
236
208
  version: '0'
237
209
  - !ruby/object:Gem::Dependency
238
- name: mysql2
210
+ name: rails-i18n
239
211
  requirement: !ruby/object:Gem::Requirement
240
212
  requirements:
241
213
  - - ">="
@@ -249,7 +221,7 @@ dependencies:
249
221
  - !ruby/object:Gem::Version
250
222
  version: '0'
251
223
  - !ruby/object:Gem::Dependency
252
- name: pg
224
+ name: kaminari-i18n
253
225
  requirement: !ruby/object:Gem::Requirement
254
226
  requirements:
255
227
  - - ">="
@@ -263,7 +235,7 @@ dependencies:
263
235
  - !ruby/object:Gem::Version
264
236
  version: '0'
265
237
  - !ruby/object:Gem::Dependency
266
- name: sqlite3
238
+ name: http_accept_language
267
239
  requirement: !ruby/object:Gem::Requirement
268
240
  requirements:
269
241
  - - ">="
@@ -277,7 +249,7 @@ dependencies:
277
249
  - !ruby/object:Gem::Version
278
250
  version: '0'
279
251
  - !ruby/object:Gem::Dependency
280
- name: puma
252
+ name: mysql2
281
253
  requirement: !ruby/object:Gem::Requirement
282
254
  requirements:
283
255
  - - ">="
@@ -291,21 +263,21 @@ dependencies:
291
263
  - !ruby/object:Gem::Version
292
264
  version: '0'
293
265
  - !ruby/object:Gem::Dependency
294
- name: rails_email_preview
266
+ name: pg
295
267
  requirement: !ruby/object:Gem::Requirement
296
268
  requirements:
297
269
  - - ">="
298
270
  - !ruby/object:Gem::Version
299
- version: 2.0.1
271
+ version: '0'
300
272
  type: :development
301
273
  prerelease: false
302
274
  version_requirements: !ruby/object:Gem::Requirement
303
275
  requirements:
304
276
  - - ">="
305
277
  - !ruby/object:Gem::Version
306
- version: 2.0.1
278
+ version: '0'
307
279
  - !ruby/object:Gem::Dependency
308
- name: roadie-rails
280
+ name: sqlite3
309
281
  requirement: !ruby/object:Gem::Requirement
310
282
  requirements:
311
283
  - - ">="
@@ -319,7 +291,7 @@ dependencies:
319
291
  - !ruby/object:Gem::Version
320
292
  version: '0'
321
293
  - !ruby/object:Gem::Dependency
322
- name: i18n-tasks
294
+ name: puma
323
295
  requirement: !ruby/object:Gem::Requirement
324
296
  requirements:
325
297
  - - ">="
@@ -333,21 +305,21 @@ dependencies:
333
305
  - !ruby/object:Gem::Version
334
306
  version: '0'
335
307
  - !ruby/object:Gem::Dependency
336
- name: web-console
308
+ name: rails_email_preview
337
309
  requirement: !ruby/object:Gem::Requirement
338
310
  requirements:
339
311
  - - ">="
340
312
  - !ruby/object:Gem::Version
341
- version: '0'
313
+ version: 2.0.1
342
314
  type: :development
343
315
  prerelease: false
344
316
  version_requirements: !ruby/object:Gem::Requirement
345
317
  requirements:
346
318
  - - ">="
347
319
  - !ruby/object:Gem::Version
348
- version: '0'
320
+ version: 2.0.1
349
321
  - !ruby/object:Gem::Dependency
350
- name: jquery-rails
322
+ name: roadie-rails
351
323
  requirement: !ruby/object:Gem::Requirement
352
324
  requirements:
353
325
  - - ">="
@@ -361,7 +333,7 @@ dependencies:
361
333
  - !ruby/object:Gem::Version
362
334
  version: '0'
363
335
  - !ruby/object:Gem::Dependency
364
- name: thredded-markdown_coderay
336
+ name: i18n-tasks
365
337
  requirement: !ruby/object:Gem::Requirement
366
338
  requirements:
367
339
  - - ">="
@@ -375,7 +347,7 @@ dependencies:
375
347
  - !ruby/object:Gem::Version
376
348
  version: '0'
377
349
  - !ruby/object:Gem::Dependency
378
- name: thredded-markdown_katex
350
+ name: twemoji
379
351
  requirement: !ruby/object:Gem::Requirement
380
352
  requirements:
381
353
  - - ">="
@@ -389,7 +361,7 @@ dependencies:
389
361
  - !ruby/object:Gem::Version
390
362
  version: '0'
391
363
  - !ruby/object:Gem::Dependency
392
- name: twemoji
364
+ name: web-console
393
365
  requirement: !ruby/object:Gem::Requirement
394
366
  requirements:
395
367
  - - ">="
@@ -403,7 +375,7 @@ dependencies:
403
375
  - !ruby/object:Gem::Version
404
376
  version: '0'
405
377
  - !ruby/object:Gem::Dependency
406
- name: turbolinks
378
+ name: jquery-rails
407
379
  requirement: !ruby/object:Gem::Requirement
408
380
  requirements:
409
381
  - - ">="
@@ -417,7 +389,7 @@ dependencies:
417
389
  - !ruby/object:Gem::Version
418
390
  version: '0'
419
391
  - !ruby/object:Gem::Dependency
420
- name: coffee-rails
392
+ name: turbolinks
421
393
  requirement: !ruby/object:Gem::Requirement
422
394
  requirements:
423
395
  - - ">="
@@ -441,6 +413,7 @@ files:
441
413
  - ".rspec"
442
414
  - ".rubocop"
443
415
  - ".rubocop.yml"
416
+ - ".rubocop_todo.yml"
444
417
  - ".travis.yml"
445
418
  - CHANGELOG.md
446
419
  - CODE_OF_CONDUCT.md
@@ -450,31 +423,52 @@ files:
450
423
  - README.md
451
424
  - RELEASE_CHECKLIST.md
452
425
  - Rakefile
426
+ - app/assets/config/thredded_workgroup_manifest.js
453
427
  - app/assets/images/thredded/workgroup/.keep
428
+ - app/assets/images/thredded/workgroup/envelope-o.svg
429
+ - app/assets/images/thredded/workgroup/envelope-open-o.svg
454
430
  - app/assets/javascripts/thredded-workgroup.js
455
- - app/assets/javascripts/thredded/workgroup/follow.js
456
- - app/assets/javascripts/thredded/workgroup/topics.js
431
+ - app/assets/javascripts/thredded/workgroup/components/followers.es6
432
+ - app/assets/javascripts/thredded/workgroup/components/overflow.es6
433
+ - app/assets/javascripts/thredded/workgroup/components/topics.es6
434
+ - app/assets/javascripts/thredded/workgroup/core/thredded_workgroup.js
435
+ - app/assets/javascripts/thredded/workgroup/core/touch.es6
436
+ - app/assets/javascripts/thredded/workgroup/index.js
457
437
  - app/assets/stylesheets/thredded-workgroup.scss
438
+ - app/assets/stylesheets/thredded/workgroup/_followers.scss
458
439
  - app/assets/stylesheets/thredded/workgroup/_navs.scss
440
+ - app/assets/stylesheets/thredded/workgroup/_overflow.scss
459
441
  - app/assets/stylesheets/thredded/workgroup/_topics.scss
442
+ - app/controllers/concerns/thredded/workgroup/all_unread_followed_topics.rb
443
+ - app/controllers/thredded/application_controller.rb
460
444
  - app/controllers/thredded/posts_controller.rb
461
445
  - app/controllers/thredded/workgroup/application_controller.rb
462
446
  - app/controllers/thredded/workgroup/navs_controller.rb
447
+ - app/controllers/thredded/workgroup/read_states_controller.rb
448
+ - app/controllers/thredded/workgroup/topics_controller.rb
463
449
  - app/helpers/thredded/application_helper.rb
464
450
  - app/helpers/thredded/workgroup/application_helper.rb
451
+ - app/jobs/thredded/workgroup/mark_all_topics_read_job.rb
452
+ - app/view_hooks/thredded/all_view_hooks.rb
453
+ - app/view_hooks/thredded/workgroup/view_hooks.rb
465
454
  - app/view_models/thredded/topic_view.rb
466
455
  - app/view_models/thredded/topics_page_view.rb
467
456
  - app/views/layouts/thredded/workgroup/application.html.erb
468
457
  - app/views/thredded/posts_common/form/_after_content.html.erb
469
458
  - app/views/thredded/shared/_header.html.erb
459
+ - app/views/thredded/shared/nav/_unread_topics.html.erb
460
+ - app/views/thredded/topics/_followers.html.erb
470
461
  - app/views/thredded/topics/_topic.html.erb
471
- - app/views/thredded/topics/_topics_with_last_post.html.erb
472
462
  - app/views/thredded/topics/topic/_body.html.erb
473
463
  - app/views/thredded/workgroup/navs/_personal_nav.html.erb
474
464
  - app/views/thredded/workgroup/navs/all_topics.html.erb
475
465
  - app/views/thredded/workgroup/navs/awaiting.html.erb
476
466
  - app/views/thredded/workgroup/navs/following.html.erb
477
467
  - app/views/thredded/workgroup/navs/unread.html.erb
468
+ - app/views/thredded/workgroup/topics/_controls.html.erb
469
+ - app/views/thredded/workgroup/topics/_last_post.html.erb
470
+ - app/views/thredded/workgroup/topics/_last_post_with_controls.html.erb
471
+ - app/views/thredded/workgroup/topics/_topics_with_last_post.html.erb
478
472
  - bin/console
479
473
  - bin/dummy-rails
480
474
  - bin/rails.rb
@@ -483,6 +477,8 @@ files:
483
477
  - bin/update_from_thredded
484
478
  - config/locales/en.yml
485
479
  - config/routes.rb
480
+ - docs/followers-above-post.png
481
+ - docs/navbar.png
486
482
  - lib/thredded/workgroup.rb
487
483
  - lib/thredded/workgroup/engine.rb
488
484
  - lib/thredded/workgroup/route_delegator.rb
@@ -492,11 +488,11 @@ files:
492
488
  - script/dummy-console
493
489
  - shared.gemfile
494
490
  - thredded-workgroup.gemspec
495
- homepage: https://github.com/red56/thredded-workgroup.
491
+ homepage: https://github.com/thredded/thredded-workgroup
496
492
  licenses:
497
493
  - MIT
498
494
  metadata: {}
499
- post_install_message:
495
+ post_install_message:
500
496
  rdoc_options: []
501
497
  require_paths:
502
498
  - lib
@@ -511,9 +507,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
511
507
  - !ruby/object:Gem::Version
512
508
  version: '0'
513
509
  requirements: []
514
- rubyforge_project:
515
- rubygems_version: 2.7.4
516
- signing_key:
510
+ rubygems_version: 3.0.9
511
+ signing_key:
517
512
  specification_version: 4
518
513
  summary: Extension to Thredded with features for workgroup messaging (Unread, Unreplied,
519
514
  Following).
@@ -1,36 +0,0 @@
1
- (function($) {
2
- $(document).ready(function () {
3
- function updateFollowStatus($svg, $topic, followStatus) {
4
- var $newSvg = $svg.clone();
5
- if (followStatus) {
6
- $topic.removeClass('thredded--topic-notfollowing').addClass('thredded--topic-following')
7
- $newSvg.find('use').attr('xlink:href', '#thredded-follow-icon');
8
-
9
- } else {
10
- $topic.removeClass('thredded--topic-following').addClass('thredded--topic-notfollowing')
11
- $newSvg.find('use').attr('xlink:href', '#thredded-unfollow-icon');
12
- }
13
- $newSvg.click(clickFollowIcon);
14
- $svg.replaceWith($newSvg);
15
- $newSvg.show();
16
- };
17
- function clickFollowIcon() {
18
- var $icon = $(this);
19
- var $topic = $icon.parents('.thredded--topics--topic');
20
- var following = $topic.hasClass('thredded--topic-following');
21
- var topicId = $topic.data("topic");
22
- var messageboardId = $topic.data("messageboard");
23
- var rootPath = $('#thredded--container').data('thredded-root-url');
24
-
25
- var path = "" + rootPath + messageboardId + "/" + topicId + "/" + (following ? 'unfollow.json' : 'follow.json');
26
- $icon.show();
27
- $.ajax({
28
- url: path, type: "POST", success: function (data) {
29
- updateFollowStatus($icon, $topic, data["follow"])
30
- }
31
- });
32
- }
33
-
34
- $('.thredded--topics--follow-icon').click(clickFollowIcon);
35
- });
36
- })(jQuery);
@@ -1,18 +0,0 @@
1
- (function($){
2
- $(function () {
3
- $('.thredded--topics--topic .thredded--topic-title, .thredded--topics--topic .thredded--topic-followers,' +
4
- '.thredded--topics--topic .thredded--topics--posts-count').hover(
5
- function(){$(this).closest('.thredded--topics--topic').addClass("thredded--rollover")},
6
- function(){$(this).closest('.thredded--topics--topic').removeClass("thredded--rollover")}
7
- ).click(function() {
8
- var $a = $(this).closest('.thredded--topics--topic').find(".thredded--topic-title a");
9
- window.location.href = $a.attr('href');
10
- });
11
-
12
- $('.thredded--topic-post-and-last-user').hover(
13
- function(){ $(this).addClass('thredded--hovering')},
14
- function(){ $(this).removeClass('thredded--hovering')}
15
- ).click(function(){$(this).toggleClass('thredded--condensed')});
16
- });
17
- })(jQuery);
18
-
@@ -1,14 +0,0 @@
1
- <div class="thredded--svg-definitions">
2
- <%= inline_svg 'thredded/follow.svg', id:"thredded-follow-icon" %>
3
- <%= inline_svg 'thredded/unfollow.svg', id:"thredded-unfollow-icon" %>
4
- </div>
5
-
6
- <%= thredded_page do %>
7
- <%= content_tag :section, class: 'thredded--main-section thredded--topics', 'data-thredded-topics' => true do %>
8
- <%= render @topics %>
9
- <% end %>
10
-
11
- <footer>
12
- <%= paginate @topics %>
13
- </footer>
14
- <% end %>