问题跟踪、作业列表页面“展开更多”改为“点击展开更多”
This commit is contained in:
parent
28aa2e5c97
commit
a3a16b5591
|
@ -24,14 +24,5 @@
|
||||||
<%= render :partial => 'users/project_issue', :locals => {:activity => issue, :user_activity_id => issue.id} %>
|
<%= render :partial => 'users/project_issue', :locals => {:activity => issue, :user_activity_id => issue.id} %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if issues.count == 10%>
|
<% if issues.count == 10%>
|
||||||
<div id="show_more_issues" class="loadMore mt10 f_grey">展开更多<%=link_to "", project_issues_path({:project_id => project.id}.merge(params)),:id => "more_issues_link",:remote => "true",:class => "none" %></div>
|
<%= link_to "点击展开更多",project_issues_path({:project_id => project.id}.merge(params)),:id => "show_more_issues",:remote => "true",:class => "loadMore mt10 f_grey"%>
|
||||||
<%#= link_to "点击展开更多",user_activities_path(@user.id,:type => type,:page => page),:id => "show_more_activities",:remote => "true",:class => "loadMore mt10 f_grey"%>
|
|
||||||
<% end%>
|
<% end%>
|
||||||
<!--<ul class="wlist">-->
|
|
||||||
<!--<%#= pagination_links_full issue_pages, issue_count, :per_page_links => false, :remote => true, :flag => true %>-->
|
|
||||||
<!--</ul>-->
|
|
||||||
<script type="text/javascript">
|
|
||||||
$("#show_more_issues").mouseover(function(){
|
|
||||||
$("#more_issues_link").click();
|
|
||||||
});
|
|
||||||
</script>
|
|
|
@ -42,9 +42,9 @@
|
||||||
<% if homework_commons.count == 10%>
|
<% if homework_commons.count == 10%>
|
||||||
<% if is_in_course == 1%>
|
<% if is_in_course == 1%>
|
||||||
<!-- 在课程内 -->
|
<!-- 在课程内 -->
|
||||||
<%= link_to "加载更多",homework_common_index_path(:course => course_id,:page => page,:is_in_course => is_in_course),:id => "user_show_more_homework",:remote => "true",:class => "loadMore f_grey"%>
|
<%= link_to "点击展开更多",homework_common_index_path(:course => course_id,:page => page,:is_in_course => is_in_course),:id => "user_show_more_homework",:remote => "true",:class => "loadMore f_grey"%>
|
||||||
<% else%>
|
<% else%>
|
||||||
<!-- 在个人主页 -->
|
<!-- 在个人主页 -->
|
||||||
<%= link_to "加载更多",user_homeworks_user_path(User.current.id,:page => page,:is_in_course => is_in_course),:id => "user_show_more_homework",:remote => "true",:class => "loadMore f_grey"%>
|
<%= link_to "点击展开更多",user_homeworks_user_path(User.current.id,:page => page,:is_in_course => is_in_course),:id => "user_show_more_homework",:remote => "true",:class => "loadMore f_grey"%>
|
||||||
<% end%>
|
<% end%>
|
||||||
<% end%>
|
<% end%>
|
Loading…
Reference in New Issue