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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 854a87ea6341c06832266d3e008d44449ae5c97e
4
- data.tar.gz: 056fe2331717c488b4a93fbd2fb71687c5475432
3
+ metadata.gz: 8cd602fc22625d9c548b208a24437d089661603d
4
+ data.tar.gz: bd6a9948321595a12e92c020fdfa998c5651f2ca
5
5
  SHA512:
6
- metadata.gz: 38f66b4654d958cac61ffccbdde725e35640c6d751b16bf036d328dd14f8b5ade85d1ddcca05be32b615f3d7c629e449dbffd9ceac95c8ef8708bd617c88fe60
7
- data.tar.gz: 578d3f29e1be727474850b479e261e17a8d1f38f37cb632cb77e1b6892656c866618c8882073a95e3dec600a989ea6cf9dbb55427acfeab2130bc429a11c1198
6
+ metadata.gz: 9759f43c526f5d5345466df123d11b70313602923538696b51c50cb0ee67db78bdab84cb7d1a5478a06cb9c7d6d0d0faf330b55a6fe66621f613641da251bade
7
+ data.tar.gz: ee2cfffa7d0e6a8a68b11e35b1caa03273753cdc880f458020a2e4ad1e0663f173b9aaf8e1a92c037b0a34965d927c97b2891a07af6adae40b869f4f6a0d0ebb
@@ -45,7 +45,7 @@ form:
45
45
  50:
46
46
  name: dc_replies
47
47
  type: embedded
48
- formname: dc_reply
48
+ form_name: dc_reply
49
49
  table: dc_reply
50
50
  html:
51
51
  height: 400
@@ -52,7 +52,7 @@ form:
52
52
  50:
53
53
  name: dc_policy_rules
54
54
  type: embedded
55
- formname: dc_policy_rule
55
+ form_name: dc_policy_rule
56
56
  table: dc_policy_rule
57
57
  html:
58
58
  height: 400
@@ -45,7 +45,7 @@ form:
45
45
  50:
46
46
  name: dc_replies
47
47
  type: embedded
48
- formname: dc_reply
48
+ form_name: dc_reply
49
49
  table: dc_reply
50
50
  html:
51
51
  height: 400
@@ -1,4 +1,4 @@
1
-
1
+ <div class="wrap">
2
2
  <div class="blog-title">
3
3
  <%= title %>
4
4
  </div>
@@ -23,3 +23,4 @@
23
23
  <% else %>
24
24
  <br><br><br>This blog has no posts. Yet ;-)
25
25
  <% end %>
26
+ </div>
@@ -1,4 +1,4 @@
1
-
1
+ <div class="wrap">
2
2
  <div class="blog-title">
3
3
  <h1><%= params[:name] %>, <%= t('dc_blog.my_blog') %></h1>
4
4
  </div>
@@ -16,3 +16,4 @@
16
16
  <div class="blog-date"><h4><%= dc_pretty_date(entry.created_at) %></h4></div>
17
17
  </div>
18
18
  <% end %>
19
+ </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_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
  <%= if session[:edit_mode] > 1
2
3
  dc_link_for_create(controller: 'cmsedit', table: 'dc_forum', title: 'dc_forum.add_new_forum' )
3
4
  end %>
@@ -30,4 +31,4 @@
30
31
  </div>
31
32
  <% end %>
32
33
  </div>
33
-
34
+ </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
- formname: 'dc_reply', action: 'new', ids: topic.id, forum: forum._id},
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
- formname: 'dc_reply', action: 'new', ids: topic.id,
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
- formname: 'dc_reply', action: 'new', ids: topic.id, forum: forum._id},
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', formname: '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', formname: '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
  <div class="news-title">
3
3
  <h1><%= t('dc_news.news') %></h1>
4
4
  </div>
@@ -12,4 +12,4 @@
12
12
  <%= dc_pretty_date(entry.created_at) %>
13
13
  </div>
14
14
  <% end %>
15
-
15
+ </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>
@@ -1,4 +1,4 @@
1
-
1
+ <div class="wrap">
2
2
  <div class="news-title">
3
3
  <%= title %>
4
4
  </div>
@@ -23,4 +23,4 @@
23
23
  <% else %>
24
24
  <br><br><br>Sorry no news. Yet ;-)
25
25
  <% end %>
26
-
26
+ </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
- formname: 'reply', action: 'new', ids: parent_id,
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
- formname: 'reply', action: 'new', ids: parent_id },
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>
@@ -1,3 +1,3 @@
1
1
  module DrgBlogNewsForum
2
- VERSION = "0.5.51.0"
2
+ VERSION = "0.5.51.1"
3
3
  end
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.0
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: 2017-05-27 00:00:00.000000000 Z
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.5.1
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 %>