teachers页面
This commit is contained in:
parent
3853d5b7ad
commit
e90da9d812
|
@ -107,7 +107,7 @@
|
|||
<%= link_to "#{field.name}", organization_path(organization, :org_subfield_id => field.id), :class => "homepageMenuText homepageMenuControl hidden", :onclick => "$('#homepageLeftMenuPost').slideToggle();" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if User.current.logged? and User.current.admin_of_org?(organization) %>
|
||||
<% if User.current.logged? and User.current.admin_of_org?(organization) && field.field_type != "Comptec" %>
|
||||
<%=link_to "", new_organization_org_document_comment_path(organization, :field_id => field.id), :method => "get", :class => "homepageMenuSetting fr", :title => "发布帖子" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
@ -14,17 +14,17 @@
|
|||
<span class="f12 fontGrey2"><%= org_teacher.technical_title %></span></div>
|
||||
<% end %>
|
||||
<div class="teacher-social-block">
|
||||
<div class="block-num"><%= @org_count %></div>
|
||||
<div class="block-num"><%= org_teacher.courses.count %></div>
|
||||
<div class="block-title">课程数</div>
|
||||
</div>
|
||||
<div class="block-slice"></div>
|
||||
<div class="teacher-social-block">
|
||||
<div class="block-num"><%#= org_student_course_count(org_teacher) %>500</div>
|
||||
<div class="block-num"><%= org_teacher.my_students %>500</div>
|
||||
<div class="block-title">学生数</div>
|
||||
</div>
|
||||
<div class="block-slice"></div>
|
||||
<div class="teacher-social-block">
|
||||
<div class="block-num"><%#= org_teacher_resource_count(org_teacher) %></div>
|
||||
<div class="block-num"><%= org_teacher_resource_count(org_teacher) %></div>
|
||||
<div class="block-title">资源数</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
<!--<option value="2">学生数</option>-->
|
||||
<!--<option value="3">资源数</option>-->
|
||||
<!--</select>-->
|
||||
<div class="teacher-search-type fr">名师列表</div>
|
||||
<div class="sn-font-grey fr">
|
||||
<%= link_to "名师列表", teachers_organization_path(@organization), :class => "fontGrey" %>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
</div>
|
||||
<div id="org_teachers_list">
|
||||
|
|
Loading…
Reference in New Issue