项目附件动态展开更多过滤条件中含有issue问题
This commit is contained in:
parent
7e2834f680
commit
40620d139d
|
@ -326,7 +326,7 @@ class ProjectsController < ApplicationController
|
|||
else
|
||||
@events_pages = ForgeActivity.includes(:project).where("forge_activities.project_id = ? and projects.is_public = ? and forge_act_type != ? ",@project,1, "Document").order("created_at desc").page(params['page'|| 1]).per(10);
|
||||
end
|
||||
|
||||
@type = params[:type]
|
||||
# 版本库统计图
|
||||
# unless @project.gpid.nil? || @project.project_score.changeset_num == 0
|
||||
# # rep_statics_commit = @project.rep_statics.order("commits_num desc")
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<div class="container-big mt10">
|
||||
<% unless activity.nil? %>
|
||||
<div class="container-big mt10">
|
||||
<div class="pr">
|
||||
<div class="homepagePostPortrait">
|
||||
<%= link_to image_tag(url_to_avatar(activity.author), :width => "50", :height => "50"), user_path(activity.author_id), :alt => "用户头像" %>
|
||||
|
@ -23,4 +24,6 @@
|
|||
</div>
|
||||
<div class="cl"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in New Issue