From 2636d6b1e6b4598921ebb9c4dfdc18f7561b922b Mon Sep 17 00:00:00 2001 From: yanxd Date: Tue, 24 Dec 2013 10:57:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=95=99=E8=A8=80=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_projects.html.erb | 74 +++++++++++------------- app/views/projects/_new_respond.html.erb | 5 +- app/views/projects/feedback.html.erb | 12 ++-- 3 files changed, 42 insertions(+), 49 deletions(-) diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index 3a524157a..6e184fa25 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -22,90 +22,82 @@
<%=render :partial => 'layouts/base_header'%>
- - -
+
- - + + - +
软件项目托管社区<%= l(:label_user_location) %> : 软件项目托管社区<%= l(:label_user_location) %> :
<%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'index', :project_type => 0 %><%= link_to "forge.trustie.net/projects", :controller => 'projects', :action => 'index', :project_type => 0 %>

<%=link_to l(:label_home),home_path %> > <%=link_to l(:label_project_deposit),:controller => 'projects', :action => 'index', :project_type => 0 %> > <%=link_to @project, project_path(@project) %>

- - + + - -
<%= call_hook :view_layouts_base_body_bottom %> +
diff --git a/app/views/projects/_new_respond.html.erb b/app/views/projects/_new_respond.html.erb index 9daa48e14..e6b072399 100644 --- a/app/views/projects/_new_respond.html.erb +++ b/app/views/projects/_new_respond.html.erb @@ -1,8 +1,7 @@ -<%= form_tag({:controller => 'projects', -:action => 'project_respond'}) do %> +<%= form_tag({:controller => 'projects', :action => 'project_respond'}) do %> <%= text_area_tag 'project_respond', "", :class => 'noline', :required => true, :style => "resize: none;", :rows => 6, :placeholder => l(:label_projects_feedback_respond_content) %> <%= hidden_field_tag 'reference_id', params[:reference_id], :value => journal.id %> -<%= submit_tag l(:button_projects_feedback_respond), :name => nil , :class => "bid_btn"%> +<%= submit_tag l(:button_projects_feedback_respond), :name => nil , :class => "bid_btn"%> <%end%> diff --git a/app/views/projects/feedback.html.erb b/app/views/projects/feedback.html.erb index be7827e9d..b5588ee0f 100644 --- a/app/views/projects/feedback.html.erb +++ b/app/views/projects/feedback.html.erb @@ -11,10 +11,12 @@ - +
<%= submit_tag l(:button_leave_meassge), :name => nil , :class => "bid_btn" %> + <%= submit_tag l(:button_leave_meassge), :name => nil , :class => "bid_btn" %> +
- <% end %> +<% end %> <% if @jour.size >0 %> @@ -29,9 +31,9 @@ -

+

<%= textilizable journal.notes%> -

+
<%= l :label_update_time %>: <%= format_time journal.created_on %> @@ -55,5 +57,5 @@ \ No newline at end of file