<% @nav_dispaly_contest_label = 1 @nav_dispaly_store_all_label = 1 %> <%= stylesheet_link_tag 'welcome' %>
<% if get_avatar?(@contest_page) %> <%= image_tag(url_to_avatar(@contest_page), width:@contest_page.image_width,height: @contest_page.image_height) %> <% else %> <%= image_tag '/images/transparent.png', width:@contest_page.image_width,height: @contest_page.image_height %> <% end %>
<% unless @contest_page.nil? %> <%= @contest_page.title %> , <%= @contest_page.description %> <% end %>
<%= form_tag({controller: :welcome, action: :search }, method: :get) do %> <%= text_field_tag 'name', params[:name], :placeholder => l(:label_search_intimation), name: "name", :class => 'blueinputbar', :style => 'width:240px; padding-right:50px;'%>   <%= hidden_field_tag 'project_type', params[:project_type] %> <%= submit_tag l(:label_search), :class => "enterprise", :name => "contests_search" %> <% end %>

<%=l(:label_current_hot_contest)%>

<%= link_to l(:label_more_information), {:controller => 'contests', :action => 'index', :host => Setting.contest_domain}, :target => "_blank" %>
<% find_all_hot_contest.map do |contest| break if(contest == find_all_hot_contest[5]) %>
  • <%= image_tag('/images/contest1.png')%>
    <%= link_to(contest.name, contest_contestnotifications_path(contest.id), :class => "d-g-blue d-p-project-name", :title => "#{contest.name}", :target => "_blank") %> <% if contest.id == 2 or contest.id == 3 or contest.id == 6 %> (<%= link_to("#{contest.projects.where('is_public=1').count}"+l(:label_work_quantity), show_attendingcontest_contest_path(contest), :target => "_blank") %>) <% else %> (<%= link_to("#{contest.contesting_softapplications.count}"+l(:label_work_quantity), show_attendingcontest_contest_path(contest), :target => "_blank") %>) <% end %>
    <%=contest.description.truncate(100, omission: '...')%>

    <%=l(:label_release_time)%>: <%=format_time contest.created_on %>
  • <% end; reset_cycle %>

    <%=l(:label_notification)%>

    <%#= link_to l(:label_more_information), forums_path %>
    <%= @contestNotification.title %>
    <%= @contestNotification.content.html_safe %>

    <%=l(:label_issue_feedback_activities)%> <%= link_to l(:label_my_question), newbie_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%> <%= link_to l(:label_my_feedback), suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%>

    <%= link_to l(:label_more_information), forums_path %>

    <%=l(:label_current_attendingcontest_work)%>

    <%= link_to l(:label_more_information), {:controller => 'softapplications', :action => 'index', :host => Setting.contest_domain}, :target => "_blank" %>
    <% if Softapplication.count > 0%>
    <% find_all_hot_softapplication.map do |softapplication| break if(softapplication == find_all_hot_softapplication[5]) %>
  • <%= image_tag('/images/app1.png')%>
    <%= link_to(softapplication.name, softapplication_path(softapplication.id), :class => "d-g-blue d-p-project-name", :title => "#{softapplication.name}", :target => "_blank") %>
    ><%=softapplication.description.to_s.truncate(50, omission: '...')%>

    <%=l(:label_release_time)%>: <%=format_time softapplication.created_at %>
  • <% end; reset_cycle %>
    <% else %>

    <%= l(:label_no_ftapplication) %>

    <% end %>
    <%= render partial: 'link_to_another' %>