|
|
|
@ -7,10 +7,6 @@
|
|
|
|
|
<td rowspan="2">
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
|
<% unless User.current.user_extensions.identity == 1 %>
|
|
|
|
|
<!--
|
|
|
|
|
modified by longjun
|
|
|
|
|
<%=link_to l(:label_newtype_contest), :controller => 'contests', :action => 'new_contest' %>
|
|
|
|
|
-->
|
|
|
|
|
<%= link_to(l(:label_newtype_contest), contest_new_contest_path, :class => 'icon icon-add', :target => "_blank") %>
|
|
|
|
|
<!-- end longjun -->
|
|
|
|
|
<% end %>
|
|
|
|
@ -27,20 +23,12 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-left: 8px">
|
|
|
|
|
<a>
|
|
|
|
|
<!--
|
|
|
|
|
modified by longjun
|
|
|
|
|
<%=link_to request.host()+"/contests", :controller => 'contests', :action => 'index' %>
|
|
|
|
|
-->
|
|
|
|
|
<%= link_to request.host()+"/contests", contests_path %>
|
|
|
|
|
<!-- end longjun -->
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td >
|
|
|
|
|
<%=link_to l(:field_homepage), home_path %> >
|
|
|
|
|
<!--
|
|
|
|
|
modified by longjun
|
|
|
|
|
<%=link_to l(:label_contest_innovate), :controller => 'contests', :action => 'index' %>
|
|
|
|
|
-->
|
|
|
|
|
<%=link_to l(:label_contest_innovate), :controller => 'contests', :action => 'index' %>
|
|
|
|
|
<!-- end longjun -->
|
|
|
|
|
</td>
|
|
|
|
|