fixtures fix, header fix dynamic.
This commit is contained in:
parent
b06d5c13a8
commit
3d274be77b
|
@ -12,10 +12,10 @@
|
|||
<%=link_to_user(User.current)%>
|
||||
<ul class="sub_menu">
|
||||
<% if User.current.user_extensions && [UserExtensions::TEACHER, UserExtensions::STUDENT].include?(User.current.user_extensions.identity) -%>
|
||||
<li><%=link_to l(:label_my_course), user_courses_user_path(User.current), target:'my_path' %></li>
|
||||
<li><%=link_to l(:label_my_course), user_courses_user_path(User.current) %></li>
|
||||
<% end -%>
|
||||
<li><%=link_to l(:label_my_projects), user_projects_user_path(User.current), target:'my_path' %></li>
|
||||
<li><%=link_to l(:label_user_edit), my_account_path, target:'my_path' %></li>
|
||||
<li><%=link_to l(:label_my_projects), user_projects_user_path(User.current) %></li>
|
||||
<li><%=link_to l(:label_user_edit), my_account_path %></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li style="padding:0 0; margin:0 0;display:inline;border-bottom: 0;">
|
||||
|
|
|
@ -14,9 +14,9 @@ production:
|
|||
development:
|
||||
adapter: mysql2
|
||||
database: redmine_development
|
||||
host: localhost
|
||||
host: 10.107.17.20
|
||||
username: root
|
||||
password: ""
|
||||
password: "1234"
|
||||
encoding: utf8
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
|
@ -25,9 +25,9 @@ development:
|
|||
test:
|
||||
adapter: mysql2
|
||||
database: redmine_test
|
||||
host: localhost
|
||||
host: 10.107.17.20
|
||||
username: root
|
||||
password: ""
|
||||
password: "1234"
|
||||
encoding: utf8
|
||||
|
||||
# PostgreSQL configuration example
|
||||
|
|
|
@ -10,7 +10,7 @@ courses_006:
|
|||
created_at: 2013-09-30 08:11:15.000000000 +08:00
|
||||
updated_at: 2013-10-11 12:34:29.000000000 +08:00
|
||||
location:
|
||||
term: 秋季学期
|
||||
term: "秋季学期"
|
||||
string:
|
||||
password: software
|
||||
setup_time:
|
||||
|
@ -27,7 +27,7 @@ courses_004:
|
|||
created_at: 2013-09-27 11:16:11.000000000 +08:00
|
||||
updated_at: 2013-12-21 10:55:20.000000000 +08:00
|
||||
location:
|
||||
term: 秋季学期
|
||||
term: "秋季学期"
|
||||
string:
|
||||
password: '123456'
|
||||
setup_time: ''
|
||||
|
@ -44,7 +44,7 @@ courses_012:
|
|||
created_at: 2013-10-08 20:52:10.000000000 +08:00
|
||||
updated_at: 2013-10-08 20:52:10.000000000 +08:00
|
||||
location:
|
||||
term: 秋季学期
|
||||
term: "秋季学期"
|
||||
string:
|
||||
password: software
|
||||
setup_time:
|
||||
|
@ -61,30 +61,9 @@ courses_020:
|
|||
created_at: 2013-10-21 20:47:58.000000000 +08:00
|
||||
updated_at: 2014-01-08 09:48:56.000000000 +08:00
|
||||
location:
|
||||
term: 秋季学期
|
||||
term: '秋季学期'
|
||||
string:
|
||||
password: multi-agent
|
||||
setup_time: ''
|
||||
endup_time: ''
|
||||
class_period: ''
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue