页面链接

This commit is contained in:
huangjingquan 2013-11-06 10:31:20 +08:00
parent 0c849c3216
commit 14445d0801
4 changed files with 6 additions and 6 deletions

View File

@ -40,8 +40,8 @@
</td>
</tr>
<tr>
<td style="padding-left: 8px"><a>http://forge.trustie.net/contest</a></td>
<td ><%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_contest_innovate), :controller => 'bids', :action => 'contest' %> > <span><%=link_to @bid.name ,bid_path %></span></td>
<td style="padding-left: 8px"><%=link_to "forge.trustie.net/contest", :controller => 'bids', :action => 'contest' %></td>
<td ><%=link_to l(:field_homepage), home_path %> > <%=link_to l(:label_contest_innovate), :controller => 'bids', :action => 'contest' %> > <span><%= @bid.name %></span></td>
</tr>
</table>
</div>

View File

@ -41,7 +41,7 @@
</td>
</tr>
<tr>
<td style="padding-left: 8px"><a>forge.trustie.net/courses</a></td>
<td style="padding-left: 8px"><a><%=link_to "forge.trustie.net/course", :controller => 'projects', :action => 'course' %></a></td>
<td ><%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> > <span><%=link_to @project.name, nil %>(<%= @course.time %><%= @course.term %>)</span></td>
</tr>
</table>

View File

@ -40,8 +40,8 @@
</td>
</tr>
<tr>
<td style="padding-left: 8px"><a><%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'index' %></a></td>
<td ><%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index' %> > <%=link_to @project, project_path(@project) %></td>
<td style="padding-left: 8px"><a><%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'index', :project_type => 0 %></a></td>
<td ><%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index', :project_type => 0 %> > <%=link_to @project, project_path(@project) %></td>
</tr>
</table>
</div>

View File

@ -38,7 +38,7 @@
</td>
</tr>
<tr>
<td style="padding-left: 8px"><a>http://forge.trustie.net</a></td>
<td style="padding-left: 8px"><a><%=link_to "forge.trustie.net/users" ,:controller => 'users', :action => 'index' %></a></td>
<!-- modified by bai --> <td><%=link_to "主页", home_path %> > <%=link_to "软件创客", :controller => 'users', :action => 'index' %> > <span><%=link_to @user.show_name, user_path %></span></td>
</tr>
</table>