|
|
|
@ -63,7 +63,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="add-info">
|
|
|
|
|
<div class="main-language">
|
|
|
|
|
<!-- add by huang -->
|
|
|
|
|
<!-- added by huang -->
|
|
|
|
|
<% if(@project.project_type==1)%>
|
|
|
|
|
<%= content_tag('span', "#{l(:field_tea_name)}: ") %>
|
|
|
|
|
<% else %>
|
|
|
|
@ -86,16 +86,16 @@
|
|
|
|
|
<%= content_tag('span', "#{l(:label_create_time)}: ") %><%= content_tag('span', format_time(@project.created_on)) %>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- added by liuping -->
|
|
|
|
|
<% unless User.current.member_of?(@project) %>
|
|
|
|
|
<!-- del by nyan -->
|
|
|
|
|
<!-- <% unless User.current.member_of?(@project) %>
|
|
|
|
|
|
|
|
|
|
<%= watcher_link(@project, User.current) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<span style="float: right; margin-right: 100px">
|
|
|
|
|
<% if @project.project_type == 1 %>
|
|
|
|
|
<% unless Course.find_by_extra(@project.identifier).tea_id == User.current.id%>
|
|
|
|
|
<% unless Course.find_by_extra(@project.identifier).tea_id == User.current.id %>
|
|
|
|
|
<%= join_in_course(@project, User.current)%>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %> -->
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|