diff --git a/app/views/layouts/base_users.html.erb b/app/views/layouts/base_users.html.erb index a4105062b..32e517ab0 100644 --- a/app/views/layouts/base_users.html.erb +++ b/app/views/layouts/base_users.html.erb @@ -39,7 +39,7 @@ - <%=link_to "forge.trustie.net/users" ,:controller => 'users', :action => 'index' %> + <%=link_to "forge.trustie.net/users" ,:controller => 'users', :action => 'index' %> <%=link_to "主页", home_path %> > <%=link_to "软件创客", :controller => 'users', :action => 'index' %> > <%=link_to @user.show_name, user_path %> @@ -173,7 +173,8 @@ <%= l(:label_location) %>:<%= @user.user_extensions.location %><%= @user.user_extensions.location_city %> - <% if @user.user_extensions.identity == 0 %> + <% if @user.user_extensions.identity == 0 %> + <%= l(:label_technical_title) %>:<%= @user.user_extensions.technical_title %> <% end %> @@ -190,7 +191,6 @@ <%= l(:label_location) %>: <% end %> - diff --git a/app/views/users/_my_joinedcourse.html.erb b/app/views/users/_my_joinedcourse.html.erb index 1471dfd71..f906c7065 100644 --- a/app/views/users/_my_joinedcourse.html.erb +++ b/app/views/users/_my_joinedcourse.html.erb @@ -12,7 +12,7 @@ <% end %> <% else %>

<%= link_to"#{l(:label_course_view_student)}",{:controller=>'projects',:action=>'course', :course => 1}, :class => 'icon icon-add' %>

- <%= render :partial => 'course_form' %> + <%= render :partial => 'course_form', :locals => {:memberships => @memberships}%> <% end %>