课程界面调整

This commit is contained in:
nwb 2014-07-17 14:32:07 +08:00
parent 6a65b2a84b
commit 615b3ac2ac
2 changed files with 1 additions and 11 deletions

View File

@ -363,16 +363,6 @@ class UsersController < ApplicationController
end end
def show def show
# 测试代码
#login_gitlab("admin@local.host","19840410")
#create_project("testproject1")
#create_project_for_user("testproject1","2")
#create_user("test","just test","123456","test@sina.com")
#delete_user("3")
#add_user_to_project("1","2",GitlabHelper::GUEST)
#delete_user_from_project("1","2")
# 测试结束
pre_count = 10 #limit pre_count = 10 #limit
case params[:type] case params[:type]
when "1" when "1"

View File

@ -42,7 +42,7 @@
<tr> <tr>
<td style="padding-left: 8px"><%= link_to request.host()+"/course", :controller => 'courses', :action => 'index' %></td> <td style="padding-left: 8px"><%= link_to request.host()+"/course", :controller => 'courses', :action => 'index' %></td>
<td><p class="top-content-list"><%= link_to "主页", home_path %> <td><p class="top-content-list"><%= link_to "主页", home_path %>
> <%= link_to l(:label_course_practice), :controller => 'courses', :action => 'index' %> > <%= link_to l(:label_course_all), :controller => 'courses', :action => 'index' %>
> <%= link_to @course.name, nil %></p></td> > <%= link_to @course.name, nil %></p></td>
</tr> </tr>
</table> </table>