Commit 657be12f3acfd7ed8ee3149388827b1d312d944f
1 parent
47d04704
Exists in
master
and in
29 other branches
Fix: list of blog articles on RecentContentBlock
(ActionItem2848)
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
plugins/recent_content/README
1 | README - RecentContent (RecentContent Plugin) | 1 | README - RecentContent (RecentContent Plugin) |
2 | ================================ | 2 | ================================ |
3 | 3 | ||
4 | -RecentContent is a plugin that provides a blog which displays the content posted inside a blog choosen by the user. | 4 | +RecentContent is a plugin that provides a blog which displays the content posted inside a blog chosen by the user. |
5 | 5 | ||
6 | The RecentContent block will be available for all layout columns of communities, people, enterprises and environments. | 6 | The RecentContent block will be available for all layout columns of communities, people, enterprises and environments. |
7 | 7 | ||
8 | -The articles posted from the choosen blog are displayed as a list with a link for the title and optionally the abstract/lead content. | 8 | +The articles posted from the chosen blog are displayed as a list with a link for the title and optionally the abstract/lead content. |
9 | 9 | ||
10 | -If the choosen blog has a cover image, the user can configure the block to show the same image displayed on that blog. | 10 | +If the chosen blog has a cover image, the user can configure the block to show the same image displayed on that blog. |
11 | 11 | ||
12 | Galleries and folders are not displayed in this block. | 12 | Galleries and folders are not displayed in this block. |
13 | 13 |
plugins/recent_content/views/blocks/recent_content_block.rhtml
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | <% if block.mode?('title_only') %> | 12 | <% if block.mode?('title_only') %> |
13 | <div class="recent-content-title"> | 13 | <div class="recent-content-title"> |
14 | <ul> | 14 | <ul> |
15 | - <% childr"A plugin that adds a block where you can display the content of any of your blogs"en.each do |item| %> | 15 | + <% children.each do |item| %> |
16 | <li> <%= link_to(h(item.title), item.url)%></li> | 16 | <li> <%= link_to(h(item.title), item.url)%></li> |
17 | <% end %> | 17 | <% end %> |
18 | </ul> | 18 | </ul> |