“按用户搜索”和“搜索”的区别,分别可以搜索什么? 上面搜索删掉

1、标签的格式需 要优化(所有涉及到标签的地方的标签的格式都需要调整) tag周围距离
“课程通知“应该调整到“课程作业”后面  改!
This commit is contained in:
yanxd 2014-02-25 15:43:03 +08:00
parent 4efa3f7752
commit 2ca1362e83
8 changed files with 14 additions and 10 deletions

View File

@ -240,4 +240,9 @@ module UsersHelper
displayed_item = %w|index|
displayed_item.include?(params['action'])
end
# base user上面searchBar显示
def show_search_bar params
displayed_flag = %w|index|
!displayed_flag.include?(params['action'])
end
end

View File

@ -302,7 +302,7 @@
<!-- added by bai 增加了身份、性别和地区-->
<span id = 'gender' style = 'display:none'>
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_gender) %></strong></td>
<p><table><tr><td class="info" align="right" style="width: 90px"><strong><%= l(:label_gender) %><span class="required"> &nbsp;</span></strong></td>
<td class="info" style="width: 10px">
<%= select_tag 'gender', "<option value = '0'>#{l(:label_gender_male)}</option>
<option value = '1'>#{l(:label_gender_female)}</option>".html_safe %></td></tr></table></p></span>

View File

@ -6,7 +6,6 @@
</div></div>
</div>
<%= debug(params) if Rails.env.development? %>
<%= 'request.headers[REQUEST_URI] ===> '+request.headers['REQUEST_URI'] if Rails.env.development? %>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

View File

@ -216,15 +216,15 @@
<li>
<%= link_to l(:label_homework), homework_project_path(@project), :class => link_class(:homework) ,:project_type => 1 %>
</li>
<li>
<%= link_to l(:label_course_news), {:controller => 'news', :action => 'index', :project_id => @project}, :class => link_class(:news) %>
</li>
<li>
<%= link_to l(:label_course_board), { :controller => 'boards', :action => 'index', :project_id => @project}, :class => link_class(:boards) %>
</li>
<li>
<%= link_to l(:label_course_file), project_files_path(@project), :class => link_class(:files)%>
</li>
<li>
<%= link_to l(:label_course_news), {:controller => 'news', :action => 'index', :project_id => @project}, :class => link_class(:news) %>
</li>
<li>
<%= link_to l(:label_course_feedback), project_feedback_path(@project), :class => link_class(:feedback)%>
</li>

View File

@ -38,7 +38,7 @@
</td>
</tr>
<tr>
<td style="padding-left: 8px"><%= link_to stores_url , stores_url %></td>
<td style="padding-left: 8px"><%= link_to request.host()+"/stores" , stores_url %></td>
<td><p class="top-content-list"><%=link_to l(:label_home),home_path %> > <%=link_to l(:label_stores_index),stores_url %> </p></td>
</tr>
</table>

View File

@ -30,7 +30,7 @@
<td class="info_font" style="width: 238px; color: #15bccf"><%= l(:label_user_home) %></td>
<td style="width: 430px; color: #15bccf"><strong><%= l(:label_user_location) %> : </strong></td>
<td rowspan="2" width="250px">
<div class="top-content-search">
<div class="top-content-search <%='hidden' if show_search_bar(params) %>">
<%= form_tag(:controller => 'users', :action => 'search', :method => :get) do %>
<%= text_field_tag 'name', params[:name], :size => 20 %>
<%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>

View File

@ -160,7 +160,7 @@ zh:
notice_account_unknown_email: 未知用户
notice_can_t_change_password: 该帐号使用了外部认证,因此无法更改密码。
notice_account_lost_email_sent: 系统已将引导您设置新密码的邮件发送给您。
notice_account_activated: 您的帐号已被激活。您现在可以登录了。
notice_account_activated: 您的帐号已被激活。
notice_successful_create: 创建成功
notice_successful_update: 更新成功
notice_successful_delete: 删除成功

View File

@ -2666,9 +2666,9 @@ h2 img { vertical-align:middle; }
/*added by william*/
#tag {
background: url(../images/issue_tag.png) no-repeat right -19px;
border-radius: 5px 5px 5px 5px;
border-radius: 3px;
color: #3a587d !important;
padding: 0px 4px;
padding: 1px 4px 2px 4px;
margin: 3px;
display: inline-block;
font-size: 13px; /*modified by linchun*/