-
diff --git a/app/assets/stylesheets/style.css b/app/assets/stylesheets/style.css index 4ab7727689..0bf628d7a2 100644 --- a/app/assets/stylesheets/style.css +++ b/app/assets/stylesheets/style.css @@ -412,10 +412,6 @@ div.note .meta { color:#888; } -.image-container { - height:auto; - overflow:auto; -} /*start of img aspect css that will affect the thumbnails which appears on the user's profile under their notes*/ diff --git a/app/views/grids/_thumbnail.html.erb b/app/views/grids/_thumbnail.html.erb index c119787e0c..e91f4ad5b2 100644 --- a/app/views/grids/_thumbnail.html.erb +++ b/app/views/grids/_thumbnail.html.erb @@ -1,62 +1,3 @@ -
- <% if logged_in_as(['admin','moderator']) %>
- <%= t('notes._notes.moderate_first_time_post') %>
- <%= t('notes._notes.approve') %>
- <%= t('notes._notes.spam') %>
- <% else %>
- <%= raw t('notes._notes.pending_approval', :url1 => '/wiki/moderation') %>
- <% end %>
-
+ <% if @current_user && ['admin','moderator'].include?(@current_user.role) %>
+ <%= t('notes._notes.moderate_first_time_post') %>
+ <%= t('notes._notes.approve') %>
+ <%= t('notes._notes.spam') %>
+ <% else %>
+ <%= raw t('notes._notes.pending_approval', :url1 => '/wiki/moderation') %>
+ <% end %>
+
+ target="_blank"<% end %> href="<%= node.path %>#Activities"> <%= node.activities.count %> activities + target="_blank"<% end %> href="<%= node.path %>#Questions"> <%= node.questions.count %> questions +
+ <% end %> +