From 875249ba5821074b710e3ec41a6575e065ca3537 Mon Sep 17 00:00:00 2001 From: alan <547533434@qq.com> Date: Wed, 17 Sep 2014 16:05:30 +0800 Subject: [PATCH 1/3] Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh Conflicts: app/views/contests/index.html.erb Signed-off-by: alan <547533434@qq.com> --- app/views/contests/index.html.erb | 130 ++++++++++++------------------ 1 file changed, 53 insertions(+), 77 deletions(-) diff --git a/app/views/contests/index.html.erb b/app/views/contests/index.html.erb index 998eabf80..293715c62 100644 --- a/app/views/contests/index.html.erb +++ b/app/views/contests/index.html.erb @@ -1,77 +1,53 @@ -
<%= l(:label_contest_innovate) %> | -<%= l(:label_user_location) %> : | -- <% if User.current.logged? %> - <% unless User.current.user_extensions.identity == 1 %> -<<<<<<< HEAD - - <%= link_to(l(:label_newtype_contest), - contest_new_contests_path, - :class => 'icon icon-add', - :target => "_blank") - %> -======= - <%= link_to(l(:label_newtype_contest), new_contest_contests_path, :class => 'icon icon-add', :target => "_blank") %> ->>>>>>> 5a14798290ec4fe5a5aeedb507e7f0077df96efc - - <% end %> - <% end %> - | -
-
- <%= text_field_tag 'name', params[:name], :size => 30 %>
- <%= hidden_field_tag 'project_type', params[:project_type] %>
- <%= submit_tag l(:label_search),
- :class => "enterprise",
- :name => "contests_search"
- %>
-
- |
-
- -<<<<<<< HEAD - -======= ->>>>>>> 5a14798290ec4fe5a5aeedb507e7f0077df96efc - <%= link_to request.host()+"/contests", contests_path %> - - - | -- <%=link_to l(:field_homepage), home_path %> > -<<<<<<< HEAD - - <%=link_to l(:label_contest_innovate), contests_path %> -======= - <%=link_to l(:label_contest_innovate), :controller => 'contests', :action => 'index' %> ->>>>>>> 5a14798290ec4fe5a5aeedb507e7f0077df96efc - - | -
<%= l(:label_contest_innovate) %> | +<%= l(:label_user_location) %> : | ++ <% if User.current.logged? %> + <% unless User.current.user_extensions.identity == 1 %> + + <%= link_to(l(:label_newtype_contest), new_contest_contests_path, :class => 'icon icon-add', :target => "_blank") %> + <% end %> + <% end %> + | +
+
+ <%= text_field_tag 'name', params[:name], :size => 30 %>
+ <%= hidden_field_tag 'project_type', params[:project_type] %>
+ <%= submit_tag l(:label_search),
+ :class => "enterprise",
+ :name => "contests_search"
+ %>
+
+ |
+
+ + <%= link_to request.host()+"/contests", contests_path %> + + | ++ <%=link_to l(:field_homepage), home_path %> > + <%=link_to l(:label_contest_innovate), contests_path %> + <%=link_to l(:label_contest_innovate), :controller => 'contests', :action => 'index' %> + | +
<%= l(:label_contest_innovate) %> | +<%= l(:label_user_location) %> : | ++ <% if User.current.logged? %> + <% unless User.current.user_extensions.identity == 1 %> + <%= link_to(l(:label_newtype_contest), new_contest_contests_path, :class => 'icon icon-add', :target => "_blank") %> + + <% end %> + <% end %> + | +
+
+ <%= text_field_tag 'name', params[:name], :size => 30 %>
+ <%= hidden_field_tag 'project_type', params[:project_type] %>
+ <%= submit_tag l(:label_search), :class => "enterprise", :name => "contests_search" %>
+
+ |
+
+ + <%= link_to request.host()+"/contests", contests_path %> + + + | ++ <%=link_to l(:field_homepage), home_path %> > + <%=link_to l(:label_contest_innovate), :controller => 'contests', :action => 'index' %> + + | +