From b05e112a3ff7277f9d24262a612ebe175554320b Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 29 Jul 2014 17:47:20 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E9=82=AE=E4=BB=B6=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E9=85=8D=E7=BD=AE=202.=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=AB=9E=E8=B5=9B=E4=BD=9C=E5=93=81=E5=9C=A8js=E4=B8=AD?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=8C=E5=A2=9E=E5=8A=A0=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=98=AF=E4=B8=8D=E6=98=AF=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E7=9A=84=E5=88=A4=E6=96=AD=203.=E6=9F=A5=E8=AF=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E5=8F=96=E6=B6=88=E6=8C=89=E7=85=A7=E6=97=B6=E9=97=B4?= =?UTF-8?q?/=E6=B4=BB=E8=B7=83=E5=BA=A6=E6=8E=92=E5=BA=8F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...e_softapplication_index_top_content.html.erb | 17 +++++++++++++++-- app/views/softapplications/_list.html.erb | 2 +- app/views/softapplications/index.html.erb | 2 +- config/configuration.yml | 8 ++++---- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/app/views/layouts/_base_softapplication_index_top_content.html.erb b/app/views/layouts/_base_softapplication_index_top_content.html.erb index db1e5df56..de9930d91 100644 --- a/app/views/layouts/_base_softapplication_index_top_content.html.erb +++ b/app/views/layouts/_base_softapplication_index_top_content.html.erb @@ -1,3 +1,15 @@ + +
@@ -5,10 +17,11 @@ diff --git a/app/views/softapplications/_list.html.erb b/app/views/softapplications/_list.html.erb index 9ce6e269b..4f99519b5 100644 --- a/app/views/softapplications/_list.html.erb +++ b/app/views/softapplications/_list.html.erb @@ -5,7 +5,7 @@ <%= rating_for softapplication, :static => true, dimension: :quality, class: 'rateable div_inline' %> -
<%= image_tag('/images/app1.png')%>
+
<%= image_tag('/images/app1.png')%>
<%= softapplication.description.truncate(95, omission: '...') %>
<%contest = softapplication.contests.first%> diff --git a/app/views/softapplications/index.html.erb b/app/views/softapplications/index.html.erb index 86d805621..bccbd9bee 100644 --- a/app/views/softapplications/index.html.erb +++ b/app/views/softapplications/index.html.erb @@ -3,8 +3,8 @@ <%=render :partial => 'layouts/base_softapplication_index_top_content'%> <% if @softapplications.size > 0%> - <%= sort_softapplication(@s_state)%>
+ <%= sort_softapplication(@s_state)%> <%= render :partial => "list" %>
<% else %> diff --git a/config/configuration.yml b/config/configuration.yml index a329ff100..833b19083 100644 --- a/config/configuration.yml +++ b/config/configuration.yml @@ -87,12 +87,12 @@ default: - address: smtp.gmail.com + address: smtp.qq.com port: 587 - domain: smtp.gmail.com + domain: smtp.qq.com authentication: :plain - user_name: trustieforge@gmail.com - password: '!@#$%^&*(' + user_name: 939547590@qq.com + password: 'suwen11223344' # Absolute path to the directory where attachments are stored. # The default is the 'files' directory in your Redmine instance.
<%= l(:label_user_location) %> :