drg_blog_news_forum 0.5.51.0 → 0.5.51.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/forms/dc_blog.yml +1 -1
- data/app/forms/dc_forum.yml +1 -1
- data/app/forms/dc_news.yml +1 -1
- data/app/views/dc_blog/_blog.html.erb +2 -1
- data/app/views/dc_blog/_entries.html.erb +2 -1
- data/app/views/dc_blog/_entry.html.erb +2 -1
- data/app/views/dc_forum/_forums.html.erb +2 -1
- data/app/views/dc_forum/_topic.html.erb +6 -4
- data/app/views/dc_forum/_topics.html.erb +4 -2
- data/app/views/dc_news/_entries.html.erb +2 -2
- data/app/views/dc_news/_entry.html.erb +2 -2
- data/app/views/dc_news/_news.html.erb +2 -2
- data/app/views/dc_replay/_reply.html.erb +2 -2
- data/lib/drg_blog_news_forum/version.rb +1 -1
- metadata +3 -4
- data/app/views/dc_news/___news.html.erb +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cd602fc22625d9c548b208a24437d089661603d
|
4
|
+
data.tar.gz: bd6a9948321595a12e92c020fdfa998c5651f2ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9759f43c526f5d5345466df123d11b70313602923538696b51c50cb0ee67db78bdab84cb7d1a5478a06cb9c7d6d0d0faf330b55a6fe66621f613641da251bade
|
7
|
+
data.tar.gz: ee2cfffa7d0e6a8a68b11e35b1caa03273753cdc880f458020a2e4ad1e0663f173b9aaf8e1a92c037b0a34965d927c97b2891a07af6adae40b869f4f6a0d0ebb
|
data/app/forms/dc_blog.yml
CHANGED
data/app/forms/dc_forum.yml
CHANGED
data/app/forms/dc_news.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
<div class="wrap">
|
2
2
|
<% if session[:edit_mode] > 1 %>
|
3
3
|
<%= dc_link_for_create(controller: 'cmsedit', table: 'dc_blog', title: 'dc_blog.new_entry' ) %>
|
4
4
|
<br><br>
|
@@ -18,3 +18,4 @@
|
|
18
18
|
</div>
|
19
19
|
|
20
20
|
<iframe id="iframe_edit" name="iframe_edit" scrolling="no"></iframe>
|
21
|
+
</div>
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<div class="wrap">
|
1
2
|
<div class="forum-topics">
|
2
3
|
<div id="back-list">
|
3
4
|
<%= link_to( t('dc_forum.forums_list'), {path: params[:path]} ) %> /
|
@@ -6,7 +7,7 @@
|
|
6
7
|
<table id="dc-forum-menu"><tr>
|
7
8
|
<td class="dc-link dc-animate" style="white-space: nowrap;">
|
8
9
|
<%= link_to( t('dc_forum.new_reply'), { controller: 'cmsedit', table: 'dc_forum_topic;dc_reply',
|
9
|
-
|
10
|
+
form_name: 'dc_reply', action: 'new', ids: topic.id, forum: forum._id},
|
10
11
|
target: 'iframe_edit') %>
|
11
12
|
</td>
|
12
13
|
<td style="text-align: right; width: 100%;"><%= paginate replies %></td>
|
@@ -27,7 +28,7 @@
|
|
27
28
|
<div class="reply-top-<%= oddeven %>">
|
28
29
|
<span style="float: right; top-margin: 5px;">
|
29
30
|
<%= link_to( t('dc_forum.new_reply'), { controller: 'cmsedit', table: 'dc_forum_topic;dc_reply',
|
30
|
-
|
31
|
+
form_name: 'dc_reply', action: 'new', ids: topic.id,
|
31
32
|
forum: forum._id, reply_to: reply.id}, target: 'iframe_edit') %>
|
32
33
|
</span>
|
33
34
|
<b><%= reply.subject %></b><br>
|
@@ -41,11 +42,12 @@
|
|
41
42
|
<table id="dc-forum-menu"><tr>
|
42
43
|
<td class="dc-link dc-animate" style="white-space: nowrap;">
|
43
44
|
<%= link_to( t('dc_forum.new_reply'), { controller: 'cmsedit', table: 'dc_forum_topic;dc_reply',
|
44
|
-
|
45
|
+
form_name: 'dc_reply', action: 'new', ids: topic.id, forum: forum._id},
|
45
46
|
target: 'iframe_edit') %>
|
46
47
|
</td>
|
47
48
|
<td style="text-align: right; width: 100%;"><%= paginate replies %></td>
|
48
49
|
</tr></table>
|
49
50
|
</div>
|
50
51
|
|
51
|
-
<iframe id="iframe_edit" name="iframe_edit" scrolling="no"></iframe>
|
52
|
+
<iframe id="iframe_edit" name="iframe_edit" scrolling="no"></iframe>
|
53
|
+
</div>
|
@@ -1,10 +1,11 @@
|
|
1
|
+
<div class="wrap">
|
1
2
|
<div class="forum-topics">
|
2
3
|
<div id="back-list"><%= link_to( t('dc_forum.forums_list'), { path: params[:path] }) %> </div>
|
3
4
|
|
4
5
|
<table id="dc-forum-menu"><tr>
|
5
6
|
<td class="dc-link dc-animate" style="white-space: nowrap;">
|
6
7
|
<%= link_to( t('dc_forum.new_topic'),
|
7
|
-
{controller: 'cmsedit', table: 'dc_forum_topic',
|
8
|
+
{controller: 'cmsedit', table: 'dc_forum_topic', form_name: 'dc_forum_topic',
|
8
9
|
action: 'new', forum: forum._id}, target: 'iframe_edit') %>
|
9
10
|
</td>
|
10
11
|
<td style="text-align: right; width: 100%;"><%= paginate topics %></td>
|
@@ -34,7 +35,7 @@
|
|
34
35
|
<table id="dc-forum-menu"><tr>
|
35
36
|
<td class="dc-link dc-animate" style="white-space: nowrap;">
|
36
37
|
<%= link_to( t('dc_forum.new_topic'),
|
37
|
-
{controller: 'cmsedit', table: 'dc_forum_topic',
|
38
|
+
{controller: 'cmsedit', table: 'dc_forum_topic', form_name: 'dc_forum_topic',
|
38
39
|
action: 'new', forum: forum._id}, target: 'iframe_edit') %>
|
39
40
|
</td>
|
40
41
|
<td style="text-align: right; width: 100%;"><%= paginate topics %></td>
|
@@ -42,3 +43,4 @@
|
|
42
43
|
</div>
|
43
44
|
|
44
45
|
<iframe id="iframe_edit" name="iframe_edit" scrolling="no"></iframe>
|
46
|
+
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
<div class="wrap">
|
2
2
|
<% if session[:edit_mode] > 1 %>
|
3
3
|
<%= dc_link_for_create(controller: 'cmsedit', table: 'dc_news', title: 'dc_news.new_entry' ) %>
|
4
4
|
<br><br>
|
@@ -20,4 +20,4 @@
|
|
20
20
|
</div>
|
21
21
|
|
22
22
|
<iframe id="iframe_edit" name="iframe_edit" scrolling="no"></iframe>
|
23
|
-
|
23
|
+
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<div class="reply-top-<%= oddeven %>">
|
5
5
|
<span style="float: right; top-margin: 5px;">
|
6
6
|
<%= link_to( t('dc_forum.new_reply'), { controller: 'cmsedit', table: "#{parent_document};dc_reply",
|
7
|
-
|
7
|
+
form_name: 'reply', action: 'new', ids: parent_id,
|
8
8
|
reply_to: reply.id}, target: 'iframe_edit') %>
|
9
9
|
</span>
|
10
10
|
<b><%= reply.subject %></b><br>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<table id="dc-reply-menu"><tr>
|
18
18
|
<td class="dc-link dc-animate" style="white-space: nowrap;">
|
19
19
|
<%= link_to( t('dc_forum.new_reply'), { controller: 'cmsedit', table: "#{parent_document};dc_reply",
|
20
|
-
|
20
|
+
form_name: 'reply', action: 'new', ids: parent_id },
|
21
21
|
target: 'iframe_edit') %>
|
22
22
|
</td>
|
23
23
|
<td style="text-align: right; width: 100%;"><%= paginate replies %></td>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drg_blog_news_forum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.51.
|
4
|
+
version: 0.5.51.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damjan Rems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -81,7 +81,6 @@ files:
|
|
81
81
|
- app/views/dc_forum/_forums.html.erb
|
82
82
|
- app/views/dc_forum/_topic.html.erb
|
83
83
|
- app/views/dc_forum/_topics.html.erb
|
84
|
-
- app/views/dc_news/___news.html.erb
|
85
84
|
- app/views/dc_news/_entries.html.erb
|
86
85
|
- app/views/dc_news/_entry.html.erb
|
87
86
|
- app/views/dc_news/_last_news.erb
|
@@ -118,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
117
|
version: '0'
|
119
118
|
requirements: []
|
120
119
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.
|
120
|
+
rubygems_version: 2.6.14
|
122
121
|
signing_key:
|
123
122
|
specification_version: 4
|
124
123
|
summary: 'DRG CMS: Blog, news and forum plugin for DRG CMS'
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<div class="news-title">
|
2
|
-
<%= title %>
|
3
|
-
</div>
|
4
|
-
|
5
|
-
<%= if session[:edit_mode] > 1
|
6
|
-
dc_link_for_edit(controller: 'cmsedit', table: 'dc_news', title: 'dc_blog.new_entry' )
|
7
|
-
end %>
|
8
|
-
|
9
|
-
<% if news %>
|
10
|
-
<div class="news-date"><%= dc_pretty_date(news.created_at) %></div>
|
11
|
-
<div class="news-subject"><%= news.subject %></div>
|
12
|
-
<div style="clear:both;"></div>
|
13
|
-
|
14
|
-
<div class="news-body"><%= news.body %></div>
|
15
|
-
|
16
|
-
<div class="news-replies">
|
17
|
-
<%= render partial: 'dc_reply/reply', formats: [:html],
|
18
|
-
locals: { replies: replies, parent_id: news.id } %>
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<iframe id="iframe_edit" name="iframe_edit" scrolling="no"></iframe>
|
22
|
-
<% else %>
|
23
|
-
<br><br><br>Sorry no news. Yet ;-)
|
24
|
-
<% end %>
|