学生加入课程列表500

exceptionHandle
yanxd 12 years ago
parent a850cc8a04
commit 85c055bdc0

@ -39,7 +39,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="padding-left: 8px"><a><%=link_to "forge.trustie.net/users" ,:controller => 'users', :action => 'index' %></a></td> <td style="padding-left: 8px"><%=link_to "forge.trustie.net/users" ,:controller => 'users', :action => 'index' %></td>
<!-- modified by bai --> <td><%=link_to "主页", home_path %> > <%=link_to "软件创客", :controller => 'users', :action => 'index' %> > <span><%=link_to @user.show_name, user_path %></span></td> <!-- modified by bai --> <td><%=link_to "主页", home_path %> > <%=link_to "软件创客", :controller => 'users', :action => 'index' %> > <span><%=link_to @user.show_name, user_path %></span></td>
</tr> </tr>
</table> </table>
@ -173,7 +173,8 @@
<td style="padding-left: 5px" width="76px"><%= l(:label_location) %>:</td><td class="font_lighter_sidebar" style="padding-left: 0px" width="170px"><%= @user.user_extensions.location %><%= @user.user_extensions.location_city %></td> <td style="padding-left: 5px" width="76px"><%= l(:label_location) %>:</td><td class="font_lighter_sidebar" style="padding-left: 0px" width="170px"><%= @user.user_extensions.location %><%= @user.user_extensions.location_city %></td>
</tr> </tr>
<tr> <tr>
<td style="padding-left: 5px" width="76px"> <% if @user.user_extensions.identity == 0 %> <% if @user.user_extensions.identity == 0 %>
<td style="padding-left: 5px" width="76px">
<%= l(:label_technical_title) %>:</td><td class="font_lighter_sidebar" style="padding-left: 0px" width="170px"><%= @user.user_extensions.technical_title %></td> <%= l(:label_technical_title) %>:</td><td class="font_lighter_sidebar" style="padding-left: 0px" width="170px"><%= @user.user_extensions.technical_title %></td>
<% end %> <% end %>
</tr> </tr>
@ -190,7 +191,6 @@
<td style="padding-left: 8px" width="70px"><%= l(:label_location) %>:</td> <td style="padding-left: 8px" width="70px"><%= l(:label_location) %>:</td>
</tr> </tr>
<% end %> <% end %>
</tr>
<!-- end --> <!-- end -->
</table> </table>

@ -12,7 +12,7 @@
<% end %> <% end %>
<% else %> <% else %>
<p><%= link_to"#{l(:label_course_view_student)}",{:controller=>'projects',:action=>'course', :course => 1}, :class => 'icon icon-add' %></p> <p><%= link_to"#{l(:label_course_view_student)}",{:controller=>'projects',:action=>'course', :course => 1}, :class => 'icon icon-add' %></p>
<%= render :partial => 'course_form' %> <%= render :partial => 'course_form', :locals => {:memberships => @memberships}%>
<% end %> <% end %>
</div> </div>

Loading…
Cancel
Save