From 38e0387f637fd12577728ee7a83aad4dbe7b4249 Mon Sep 17 00:00:00 2001 From: Jasper van Bourgognie Date: Sat, 18 Oct 2014 00:20:09 +0200 Subject: [PATCH] reworked forum listing layout a bit for small screens (using foundation css) --- app/views/forem/forums/_forum.html.erb | 10 ++++++---- app/views/forem/forums/_listing.html.erb | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/views/forem/forums/_forum.html.erb b/app/views/forem/forums/_forum.html.erb index 1cc2f22b9..1ab3c82f9 100644 --- a/app/views/forem/forums/_forum.html.erb +++ b/app/views/forem/forums/_forum.html.erb @@ -1,7 +1,9 @@ <% if can?(:read, forum) %> "> - <%= link_to forem_emojify(forum.title), forem.forum_path(forum), :class => "title" %> +

+ <%= link_to forem_emojify(forum.title), forem.forum_path(forum)%> +

<%= forem_format(forum.description) %>
<%= t('forem.forums.index.last_post') -%> @@ -13,8 +15,8 @@ <% end %> - <%= topics_count(forum) %> - <%= posts_count(forum) %> - <%= forum.views_count %> + <%= topics_count(forum) %> + <%= posts_count(forum) %> + <%= forum.views_count %> <% end %> diff --git a/app/views/forem/forums/_listing.html.erb b/app/views/forem/forums/_listing.html.erb index 8c664bccb..51c38bc52 100644 --- a/app/views/forem/forums/_listing.html.erb +++ b/app/views/forem/forums/_listing.html.erb @@ -2,9 +2,9 @@ <%= t('forum', :scope => 'forem.general') %> - <%= t('topics', :scope => 'forem.general') %> - <%= t('posts', :scope => 'forem.general') %> - <%= t('forem.forums.index.views') %> + <%= t('topics', :scope => 'forem.general') %> + <%= t('posts', :scope => 'forem.general') %> + <%= t('forem.forums.index.views') %>