20 lines
670 B
Plaintext
20 lines
670 B
Plaintext
|
<div style="margin-left: 20px;">
|
||
|
|
||
|
<% if ( !(User.current.member_of? @project) && User.current.login?) %> <!--added by linchun-->
|
||
|
<span class="icon-fav icon"></span><%= watcher_link(@project, User.current) %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<!--添加项目申请-->
|
||
|
<div style="margin-left: 20px;">
|
||
|
<% if ( !(User.current.member_of? @project) && User.current.login?) %>
|
||
|
<span class="icon-fav icon"></span>
|
||
|
<%= applied_link(@project, User.current) %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
|
||
|
<!--添加退出项目-->
|
||
|
<div style="margin-left: 20px;">
|
||
|
<% if ((User.current.member_of? @project) && User.current.login?) %>
|
||
|
<%= exit_project_link(@project) %>
|
||
|
<% end %>
|
||
|
</div>
|