修改了个人主页项目列表

This commit is contained in:
huangjingquan 2013-11-09 08:56:34 +08:00
parent f6c3f3609a
commit 59d0cc8e7a
6 changed files with 10 additions and 4 deletions

View File

@ -29,7 +29,7 @@
<table>
<tr>
<td class="info_font" style="width: 240px; color: #15bccf"">高校课程实践社区</td>
<td style="color: #15bccf"><strong><%= l(:label_user_location) %> : <!-- <%= @course.teacher.user_extensions.occupation %> --></strong></td>
<td style="color: #15bccf"><strong><%= l(:label_user_location) %> : </strong></td>
<td rowspan="2" width="250px">
<div class="top-content-search">
<%= form_tag(:controller => 'projects', :action => 'search', :method => :get) do %>

View File

@ -9,3 +9,4 @@
<%= render :partial => 'bids/bid_homework_show', :locals => {:bids => @bids, :bid_pages => @bid_pages} %>
</div>

View File

@ -1,11 +1,11 @@
<!--add by huang-->
<p>温馨提示:项目可以是一次作业,也可以是别人或者自己创建的一项小工程~</p>
<div class="content-title-top">
<div class="content-title-top-project">
<% if @user == User.current %>
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new', :course => 0, :project_type => @project_type}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
<% end %>
</div>
<p><%= watch_projects @state%>
<%= watch_projects @state %>
<% unless @memberships.empty? %>
<div class="content_frame">
<ul class="user_project_sort">

View File

@ -1427,6 +1427,7 @@ zh:
label_password_not_null: 密码不能设置为空。
label_exist_repository_path: 定义已有版本库URL路径定义格式file:///, http://, https://, svn://
label_project_no_activity: 该项目暂无动态!
label_course_homework_un: 暂未发布任何作业
label_follow_no_requirement: 暂未关注任何需求!
label_no_user_respond_you: 暂无任何用户对您进行反馈!
label_tags_issue: 问题名称:

View File

@ -23,6 +23,10 @@ h4 {border-bottom: 1px dotted #bbb;}
padding-top: 5px;
}
.content-title-top-project{
padding-left: 5px;
}
.content-title-top{
padding-bottom: 20px;
padding-left: 5px;

View File

@ -1408,7 +1408,7 @@ div.nomargin {
div.pagination {
margin: 25px 0px;
height: 36px;
height: 25px;
text-align: left;
font-size: 13px;
}