socialforge/app/views/layouts/_base_homework_attach.html.erb

36 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-07-18 16:51:41 +08:00
<% @nav_dispaly_course_all_label = 1
@nav_dispaly_forum_label = 1
@nav_dispaly_course_label = nil
@nav_dispaly_store_all_label = 1 %>
2014-06-11 16:53:07 +08:00
<div class="top-content">
<table>
<tr>
<td class="info_font" style="width: 240px;" rowspan="2">
<a href="http://<%= Setting.host_course%>" style="color: #15bccf;">
<%= l(:label_courses_community)%>
</a>
</td>
<td style="width: auto; color: #15bccf">
<strong><%= l(:label_user_location) %> : </strong>
</td>
2014-06-11 16:53:07 +08:00
</tr>
<tr>
<td>
<p class="top-content-list-homework">
<%=link_to "主页", home_path %> >
<a href="http://<%= Setting.host_course%>" class="link_other_item">
<%=l(:label_courses_management_platform)%>
</a> >
<span>
<%= link_to(homework_attach.bid.courses.first.name.to_s, homework_course_path(homework_attach.bid.courses.first)) if homework_attach.bid.courses.first%>
</span> >
<%=link_to(homework_attach.bid.name, course_for_bid_path(homework_attach.bid)) %> >
<span>
<%= link_to homework_attach.name.nil? ? homework_attach.user.name + "提交的作业" : homework_attach.name,homework_attach_path(homework_attach)%>
</span>
</p>
</td>
2014-06-11 16:53:07 +08:00
</tr>
</table>
</div>