课程界面调整
This commit is contained in:
parent
6a65b2a84b
commit
615b3ac2ac
|
@ -363,16 +363,6 @@ class UsersController < ApplicationController
|
|||
end
|
||||
|
||||
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
|
||||
case params[:type]
|
||||
when "1"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<tr>
|
||||
<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 %>
|
||||
> <%= 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>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue