|
|
|
@ -168,7 +168,7 @@
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
<!--info-->
|
|
|
|
|
<div class="inf_user_context">
|
|
|
|
|
<table style="font-family:微软雅黑" width="240">
|
|
|
|
|
<table style="font-family:'微软雅黑'" width="240">
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-left: 5px" width="70px"><%= l(:label_user_joinin) %>:</td><td class="font_lighter_sidebar" style="padding-left: 0px" width="170px"><%= format_time(@user.created_on) %></td>
|
|
|
|
|
</tr>
|
|
|
|
@ -178,7 +178,7 @@
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top" style="padding-left: 5px;"><%= l(:label_user_mail) %>:</td><td class="font_lighter_sidebar" style="padding-left: 0px; word-wrap: break-word; word-break: break-all"><%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></td>
|
|
|
|
|
<td valign="top" style="padding-left: 5px;"><%#= l(:label_user_mail) %>:</td><td class="font_lighter_sidebar" style="padding-left: 0px; word-wrap: break-word; word-break: break-all"><%#= mail_to(h(@user.mail), nil, :encode => 'javascript') %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
-->
|
|
|
|
|
<!-- added by bai 在个人主页里显示“工作单位”“地区”"教师的职称"-->
|
|
|
|
@ -189,7 +189,7 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-left: 5px" width="70px"><%= l(:field_occupation) %>:</td><td class="font_lighter_sidebar" style="padding-left: 0px" width="170px">
|
|
|
|
|
<% unless @user.user_extensions.school.nil? %>
|
|
|
|
|
<%= link_to @user.user_extensions.school.name, options={:controller => 'welcome',:action => 'course',:school_id => @user.user_extensions.school.id}, html_options={:method => 'get'} %>
|
|
|
|
|
<a href="http://course.trustie.net/?school_id=<%= @user.user_extensions.school.id%>"><%= @user.user_extensions.school.name %></a>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|