|
|
|
@ -18,12 +18,6 @@ module OrganizationsHelper
|
|
|
|
|
s + content_tag('ul', links,:class => 'wlist',:style=>'float:left !important', :id => "org_member_pagination_links" )
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 获取项目动态更新时间
|
|
|
|
|
def get_forge_act_message(act, type)
|
|
|
|
|
forge_act = ForgeActivity.where(:forge_act_id => act.id, :forge_act_type => type).first
|
|
|
|
|
format_time(forge_act.nil? ? act.created_on : forge_act.try(:updated_at))
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def get_default_name field
|
|
|
|
|
case field.name
|
|
|
|
|
when 'activity' then
|
|
|
|
|