|
|
@ -143,7 +143,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="right" style="float: right; width: 48%; ">
|
|
|
|
<div class="right" style="float: right; width: 48%; ">
|
|
|
|
<ul class="welcome-message-list">
|
|
|
|
<ul class="welcome-message-list">
|
|
|
|
<!--<% cache 'forum_links' do %> -->
|
|
|
|
<!--<%# cache 'forum_links' do %> -->
|
|
|
|
<div class="forum-topic" style="height: 25px; width: 98%; margin-left: 2px;">
|
|
|
|
<div class="forum-topic" style="height: 25px; width: 98%; margin-left: 2px;">
|
|
|
|
<h3 style="color: rgb(21, 188, 207);">
|
|
|
|
<h3 style="color: rgb(21, 188, 207);">
|
|
|
|
<strong>贴吧动态</strong>
|
|
|
|
<strong>贴吧动态</strong>
|
|
|
@ -151,11 +151,11 @@
|
|
|
|
<%= link_to "我要反馈" , suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%></h3>
|
|
|
|
<%= link_to "我要反馈" , suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%></h3>
|
|
|
|
<span style="margin-top: -30px;float: right; display: block;"><%= link_to "更多>>", forums_path %></span>
|
|
|
|
<span style="margin-top: -30px;float: right; display: block;"><%= link_to "更多>>", forums_path %></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--<%end %> -->
|
|
|
|
<!--<%#end %> -->
|
|
|
|
<div class="welcome-box-list-new memo_activity">
|
|
|
|
<div class="welcome-box-list-new memo_activity">
|
|
|
|
<% topics = find_new_forum_topics(7) %>
|
|
|
|
<% topics = find_new_forum_topics(7) %>
|
|
|
|
<% topics.includes(:forum, :last_reply, :author).each do |topic|%>
|
|
|
|
<% topics.includes(:forum, :last_reply, :author).each do |topic|%>
|
|
|
|
<!--<% cache cache_key_for_topic(topic) do %> -->
|
|
|
|
<!--<%# cache cache_key_for_topic(topic) do %> -->
|
|
|
|
<li class="message-brief-intro">
|
|
|
|
<li class="message-brief-intro">
|
|
|
|
<div class='memo_title text_nowrap'>
|
|
|
|
<div class='memo_title text_nowrap'>
|
|
|
|
<%= link_to '['+topic.forum.name + ']',forum_path(topic.forum),:class => 'memo_Bar_title' %><%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url,title: topic.subject %>
|
|
|
|
<%= link_to '['+topic.forum.name + ']',forum_path(topic.forum),:class => 'memo_Bar_title' %><%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url,title: topic.subject %>
|
|
|
@ -175,7 +175,7 @@
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<!--<%end %> --> <!-- cache -->
|
|
|
|
<!--<%#end %> --> <!-- cache -->
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|