<% if @topics && @topics.any? %> <% unless params[:tag].blank? %>

<%= l(:label_questions_tagged_by, :count => @topics.count, :tag => params[:tag]) %>

<% end %>
<% @topics.each do |topic| %>

<%= link_to h(topic.subject), { :controller => 'messages', :action => 'show', :board_id => topic.board, :id => topic } %>

<%= truncate(topic.content.gsub(/\r\n/, ' ').strip , :length => 100) %>

<% end %>
<% if @topic_pages %> <% params[:controller] = 'questions' params[:action] = 'topics' %>

<%= pagination_links_full @topic_pages, @topic_count %>

<% end %> <% else %>

<%= l(:label_no_data) %>

<% end %>