parent
e3889ed6aa
commit
d1435e07d4
|
@ -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>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
<div id="identifier-pannel" style="display:none">
|
||||
<%= image_tag '/images/qrweixin.jpg', size: '150x150', alt: 'trustie', class: "weixin" %>
|
||||
<div class="weixin-content">微信扫码</div>
|
||||
</div>
|
|
@ -120,10 +120,7 @@
|
|||
})();
|
||||
</script>
|
||||
<div class='top_bar'>
|
||||
<div id="identifier-pannel" style="display:none">
|
||||
<%= image_tag '/images/qrweixin.jpg', size: '150x150', alt: 'trustie', class: "weixin" %>
|
||||
<div class="weixin-content"><%=l(:label_weixin)%></div>
|
||||
</div>
|
||||
<%#= render partial: 'wei_xin' %>
|
||||
<div class="main-content-bar" id="main-content-bar">
|
||||
<!--文字-->
|
||||
<div style="float: left;padding-left:15px;">
|
||||
|
|
|
@ -32,10 +32,7 @@
|
|||
</script>
|
||||
|
||||
<div class='top_bar'>
|
||||
<div id="identifier-pannel" style="display:none">
|
||||
<%= image_tag '/images/qrweixin.jpg', size: '150x150', alt: 'trustie', class: "weixin" %>
|
||||
<div class="weixin-content">微信扫码</div>
|
||||
</div>
|
||||
<%#= render partial: 'wei_xin' %>
|
||||
<div class="main-content-bar" id="main-content-bar">
|
||||
<div style="float: left;padding-left:15px">
|
||||
<%= image_tag(@logoLink, width:@course_page.image_width,height: @course_page.image_height) %>
|
||||
|
|
|
@ -29,10 +29,7 @@
|
|||
</script>
|
||||
|
||||
<div class='top_bar'>
|
||||
<div id="identifier-pannel" style="display:none">
|
||||
<%= link_to image_tag('/images/qrweixin.jpg', size: '150x150', alt: 'trustie', class: "weixin" ), home_path %>
|
||||
<div class="weixin-content">微信扫码</div>
|
||||
</div>
|
||||
<%#= render partial: 'wei_xin' %>
|
||||
<div class="main-content-bar" id="main-content-bar">
|
||||
<div style="float: left;padding-left:15px ">
|
||||
<!-- <#%= image_tag(get_project_avatar(@first_page), size: "75x75") %> -->
|
||||
|
@ -42,7 +39,7 @@
|
|||
<%= image_tag '/images/transparent.png', width:@first_page.image_width,height: @first_page.image_height %>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="welcome_left" id="welcome_left">
|
||||
<% unless @first_page.nil? %>
|
||||
<!-- <span class="font_welcome_trustie"><#%= @first_page.title %></span> <span class="font_welcome_tdescription">, <#%= @first_page.description %></span> -->
|
||||
|
@ -50,7 +47,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<div class="search-bar" id="search-bar">
|
||||
<%= render :partial => "search_project", :locals => {:project_type => 0}%>
|
||||
<%= render :partial => "search_project", :locals => {:project_type => 0}%>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue