|
|
@ -16,31 +16,34 @@
|
|
|
|
<!--我的项目-->
|
|
|
|
<!--我的项目-->
|
|
|
|
<div class="square-list clearfix">
|
|
|
|
<div class="square-list clearfix">
|
|
|
|
|
|
|
|
|
|
|
|
<!--新建项目新建入口-->
|
|
|
|
<% if @new_icon %>
|
|
|
|
<div class="square-Item">
|
|
|
|
<!--新建项目新建入口-->
|
|
|
|
|
|
|
|
<div class="square-Item">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="substance substancepad" >
|
|
|
|
<div class="substance substancepad" >
|
|
|
|
|
|
|
|
|
|
|
|
<a href="/projects/new">
|
|
|
|
<a href="/projects/new">
|
|
|
|
<div class="substancenenew">
|
|
|
|
<div class="substancenenew">
|
|
|
|
<div class="leftten"></div>
|
|
|
|
<div class="leftten"></div>
|
|
|
|
<div class="topten"></div>
|
|
|
|
<div class="topten"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="edu-txt-center course-bottom">
|
|
|
|
<div class="edu-txt-center course-bottom">
|
|
|
|
<div class="inline color-grey-6">
|
|
|
|
<div class="inline color-grey-6">
|
|
|
|
|
|
|
|
|
|
|
|
<span class="fl ml10 mr10 squareIconSpan substancefont">
|
|
|
|
<span class="fl ml10 mr10 squareIconSpan substancefont">
|
|
|
|
新建项目
|
|
|
|
新建项目
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% @objects.shift %>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
<% @objects.each do |object| %>
|
|
|
|
<% @objects.each do |object| %>
|
|
|
|
<% allow_visit = object.is_public || User.current.admin? || User.current.member_of?(object) %>
|
|
|
|
<% allow_visit = object.is_public || User.current.admin? || User.current.member_of?(object) %>
|
|
|
|