Issue统计过滤条件样式调整。管理员帖子界面点击跳新页面

This commit is contained in:
daiao 2016-12-23 18:42:44 +08:00
parent 283f8035b9
commit 1c868e5f12
5 changed files with 18 additions and 18 deletions

View File

@ -51,7 +51,7 @@
<%= format_date(course.created_on) %>
</td>
<td style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title='<%=course.subject %>'>
<%= link_to(course.subject, board_message_path(course.board_id, course)) %>
<%= link_to(course.subject, board_message_path(course.board_id, course), :target => "_blank") %>
</td>
<td class="center">
<%= link_to(course.replies_count, course_boards_path(Board.where('id=?',course.board_id).first.course_id)) %>

View File

@ -3,7 +3,7 @@
</h3>
<%= render 'tab_messages' %>
<h4><%=l(:label_forum) %></h4>
<h4><%= l(:label_forum) %></h4>
<div class="autoscroll">
<table class="list" style="width: 100%;table-layout: fixed">
<thead>
@ -53,7 +53,7 @@
<% if memo.parent_id.nil? || memo.subject.starts_with?('RE:')%>
<%= link_to(memo.subject, forum_memo_path(memo.forum, memo)) %>
<% else %>
<%= link_to("RE:"+memo.subject, forum_memo_path(memo.forum, memo)) %>
<%= link_to("RE:"+memo.subject, forum_memo_path(memo.forum, memo), :target => "_blank") %>
<% end %>
</td>
<td class="center">

View File

@ -51,7 +51,7 @@
<%= format_date(project.created_on) %>
</td>
<td title='<%=project.subject %>' style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" class="name">
<%= link_to(project.subject, board_message_path(project.board_id, project)) %>
<%= link_to(project.subject, board_message_path(project.board_id, project), :target => "_blank") %>
</td>
<td class="center">
<%= link_to(project.replies_count, project_boards_path(Board.where('id=?',project.board_id).first.project_id)) %>

View File

@ -8,35 +8,35 @@
</div>
<div class="fl" style="width: 880px;">
<% if @filter_condition %>
<% if @search != 0%>
搜索关键字:“<span class="c_red"><%= @search %></span>”
<% end%>
<% if @start_time != 0%>
开始日期:“<span class="c_red"><%= @start_time %></span>”
<% if @search != 0 %>
搜索关键字:“<span class="c_red"><%= @search %></span>”&nbsp;&nbsp;
<% end %>
<% if @start_time != 0 %>
开始日期:“<span class="c_red"><%= @start_time %></span>”&nbsp;&nbsp;
<% end %>
<% if @end_time != 0 %>
结束日期:“<span class="c_red"><%= @end_time %></span>”
结束日期:“<span class="c_red"><%= @end_time %></span>”&nbsp;&nbsp;
<% end %>
<% if @author != 0 %>
发布人:“<span class="c_red"><%= @author %></span>”
发布人:“<span class="c_red"><%= @author %></span>”&nbsp;&nbsp;
<% end %>
<% if @assigned != 0 %>
指派人:“<span class="c_red"><%= @assigned %></span>”
指派人:“<span class="c_red"><%= @assigned %></span>”&nbsp;&nbsp;
<% end %>
<% if @tracker != 0 %>
类型:“<span class="c_red"><%= @tracker %></span>”
类型:“<span class="c_red"><%= @tracker %></span>”&nbsp;&nbsp;
<% end %>
<% if @prior != 0 %>
优先度:“<span class="c_red"><%= @prior %></span>”
优先度:“<span class="c_red"><%= @prior %></span>”&nbsp;&nbsp;
<% end %>
<% if @version != 0 %>
里程碑:“<span class="c_red"><%= @version %></span>”
里程碑:“<span class="c_red"><%= @version %></span>”&nbsp;&nbsp;
<% end %>
<% if @status != 0 %>
状态:“<span class="c_red"><%= @status %></span>”
状态:“<span class="c_red"><%= @status %></span>”&nbsp;&nbsp;
<% end %>
<% if @done != -1 %>
完成度:“<span class="c_red"><%= @done %>%</span>”
完成度:“<span class="c_red"><%= @done %>%</span>”&nbsp;&nbsp;
<% end %>
<% else %>

View File

@ -5,7 +5,7 @@
<div class="fl">
<ul>
<li class="navHomepageMenu fl">
<%= link_to "首页", user_activities_path(User.current), :class => "c_white f16 db p10", :title => "回到个人首页", :target => "_blank"%>
<%= link_to "首页", user_activities_path(User.current), :class => "c_white f16 db p10", :title => "回到个人首页" %>
</li>
<!-- <li class="navHomepageMenu fl">
<%#= link_to "资源库", user_resource_user_path(User.current, :type => 1), :class => "c_white f16 db p10" %>