38 lines
2.2 KiB
Plaintext
38 lines
2.2 KiB
Plaintext
<!--新版项目头部结束-->
|
|
<div class="pro_new_info mb10">
|
|
<h2>项目简介<span class="fr mr15">邀请码:<span class="c_orange"><%= @project.invite_code %></span></span></h2>
|
|
<% if @project.description.blank? %>
|
|
<p><%= @project.name %><p>
|
|
<% else %>
|
|
<p><%= @project.description %><p>
|
|
<% end %>
|
|
</div>
|
|
|
|
<input type="hidden" value="<%= @type %>" name="type" id="user_activities_type">
|
|
<div class="homepageRight mt0">
|
|
<div class="banner-big">
|
|
<div class="NewsBannerName">项目动态</div>
|
|
<ul class="resourcesSelect" class="resourcesSelect">
|
|
<li class="resourcesSelected"><a href="javascript:void(0);" class="resourcesIcon"></a>
|
|
<ul class="homepagePostType2">
|
|
<li>
|
|
<ul class="homepagePostTypeHomework fl">
|
|
<li><%= link_to "全部动态", {:controller => "projects", :action => "show", :type => nil}, :class => "homepagePostTypeAll postTypeGrey" %></li>
|
|
<li><%= link_to "问题动态", {:controller => "projects", :action => "show", :type => "issue"}, :class => "homepagePostTypeMessage postTypeGrey" %></li>
|
|
<!--<li><%#= link_to "作业动态", {:controller => "courses", :action => "show", :type => "homework"}, :class => "homepagePostTypeAssignment postTypeGrey" %></li>-->
|
|
<li><%= link_to "新闻动态", {:controller => "projects", :action => "show", :type => "news"}, :class => "homepagePostTypeNotice postTypeGrey" %></li>
|
|
<li><%= link_to "资源库动态", {:controller => "projects", :action => "show", :type => "attachment"}, :class => "homepagePostTypeResource resourcesGrey" %></li>
|
|
<li><%= link_to "讨论区动态", {:controller => "projects", :action => "show", :type => "message"}, :class => "homepagePostTypeForum postTypeGrey" %></li>
|
|
<!--<li><%#= link_to "问卷动态", {:controller => "courses", :action => "show", :type => "poll"}, :class => "homepagePostTypeQuiz postTypeGrey" %></li>-->
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="cl"></div>
|
|
<!--CONTENT LIST-->
|
|
|
|
</div>
|
|
|
|
<%= render :partial => "project_activities", :locals => {:forge_acts => @events_pages, :page => 0, :type => @type} %>
|
|
</div> |