diff --git a/app/views/tags/_show_contests.html.erb b/app/views/tags/_show_contests.html.erb new file mode 100644 index 00000000..79c75652 --- /dev/null +++ b/app/views/tags/_show_contests.html.erb @@ -0,0 +1,15 @@ +
+ <% if contests_results.size > 0 %> +
+ <% contests_results.each do |contest| %> +

+ <%= l(:label_tags_contest) %>:<%= link_to "#{contest.name}", + :controller => "contests",:action => "show",:id => contest.id %> +
+ <%= l(:label_tags_contest_description) %>:<%= contest.description %> + <%= contest.updated_on %> +

+
+ <% end %> + <% end %> +
diff --git a/app/views/welcome/contest.html.erb b/app/views/welcome/contest.html.erb index 935f28ea..3135595f 100644 --- a/app/views/welcome/contest.html.erb +++ b/app/views/welcome/contest.html.erb @@ -141,7 +141,7 @@ <% find_all_hot_contest.map do |contest| break if(contest == find_all_hot_contest[5]) %>
  • -
    +
    <%= image_tag('/images/039.gif')%>
    @@ -196,14 +196,14 @@

    最新参赛应用

    - <%= link_to "更多>>", {:controller => 'contests', :action => 'index', :host => Setting.contest_domain}, :target => "_blank" %> +
    <% find_all_hot_softapplication.map do |softapplication| break if(softapplication == find_all_hot_softapplication[5]) %>
  • -
    - <%= image_tag('/images/007.gif')%> +
    + <%= image_tag('/images/009.gif')%>
    diff --git a/public/images/008.jpg b/public/images/008.jpg new file mode 100644 index 00000000..378e7216 Binary files /dev/null and b/public/images/008.jpg differ diff --git a/public/images/009.gif b/public/images/009.gif new file mode 100644 index 00000000..b90b130f Binary files /dev/null and b/public/images/009.gif differ