diff --git a/app/views/files/_project_file_new.html.erb b/app/views/files/_project_file_new.html.erb
index 878e6a75e..4ee1ccede 100644
--- a/app/views/files/_project_file_new.html.erb
+++ b/app/views/files/_project_file_new.html.erb
@@ -41,7 +41,7 @@
<%= form_tag( search_project_project_files_path(@project), method: 'get',:class => "re_search f_l",:remote=>true) do %>
<%= text_field_tag 'name', params[:name], name: "name", :class => 're_schbox',:style=>"padding: 0px"%>
- <%= submit_tag "站内搜索", :class => "re_schbtn b_lblue",:name => "incourse",:id => "incourse", :onmouseover => "presscss('incourse')",:onmouseout =>"buttoncss()" %>
+ <%= submit_tag "项目内搜索", :class => "re_schbtn b_lblue",:name => "incourse",:id => "incourse", :onmouseover => "presscss('incourse')",:onmouseout =>"buttoncss()", :style =>"width:72px;" %>
<%= submit_tag "全站搜索", :class => "re_schbtn b_lblue",:name => "insite",:id => "insite",:onmouseover => "presscss('insite')",:onmouseout =>"buttoncss()" %>
<% end %>
<% manage_allowed = User.current.allowed_to?(:manage_files, @project) %>
diff --git a/app/views/forums/_show_topics.html.erb b/app/views/forums/_show_topics.html.erb
index f46600a6c..f8679cefa 100644
--- a/app/views/forums/_show_topics.html.erb
+++ b/app/views/forums/_show_topics.html.erb
@@ -1,31 +1,31 @@
共有 <%=link_to @forum.memos.count %> 个贴子
-<% if memos.any? %>
- <% memos.each do |topic| %>
-
-
-
- <%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) if topic.author%>
- |
-
-
-
+ <% if memos.any? %>
+ <% memos.each do |topic| %>
+
+
+
+ <%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) if topic.author%>
+ |
+
+
+
<%= link_to h(topic.subject), forum_memo_path(topic.forum, topic) %> |
-
+
- <%= link_to (topic.replies_count), forum_memo_path(topic.forum, topic) %> |
+ <%= link_to (topic.replies_count), forum_memo_path(topic.forum, topic) %> |
- 回答 |
+ 回答 |
-
-
-
+ |
+
+
|
-
-
+
+
<%= authoring topic.created_at, topic.author %>
<% author = topic.last_reply.try(:author)%>
@@ -35,14 +35,14 @@
|
-
-
- |
-
-
- <% end %>
-
-<% else %>
- <%= l(:label_no_data) %>
-<% end %>
+
+
+ |
+
+
+ <% end %>
+
+ <% else %>
+
<%= l(:label_no_data) %>
+ <% end %>
\ No newline at end of file
diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb
index c105dc2b8..24aa74c23 100644
--- a/app/views/forums/show.html.erb
+++ b/app/views/forums/show.html.erb
@@ -1,54 +1,42 @@
-
- <%=l(:label_memo_new)%>
-
- <% if User.current.logged? %>
- <%= labelled_form_for(@memo, :url => create_memo_forum_path(@forum), :html => {:multipart => true} ) do |f| %>
-
- <%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %>
-
- <%= f.text_field :subject, :required => true, :maxlength => 50%>
-
-
- <%= f.kindeditor :content, :required => true %>
-
-
-
- (<%= l(:label_memos_max_length) %>)
-
-
- <%= l(:label_attachment_plural) %>
-
- <%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
-
-
- <%= f.submit :value => l(:label_memo_create) %>
- <%= link_to l(:button_cancel), "#", :onclick => '$("#add-memo").hide(); return false;' %>
-
- <% end %>
-<% end %>
+
+ <%=l(:label_memo_new)%>
+
+ <% if User.current.logged? %>
+ <%= labelled_form_for(@memo, :url => create_memo_forum_path(@forum), :html => {:multipart => true} ) do |f| %>
+
+ <%= hidden_field_tag :asset_id,params[:asset_id],:required => false,:style => 'display:none' %>
+
+ <%= f.text_field :subject, :required => true, :maxlength => 50%>
+
+
+ <%= f.kindeditor :content, :required => true %>
+
+
+
+ (<%= l(:label_memos_max_length) %>)
+
+
+ <%= l(:label_attachment_plural) %>
+
+ <%= render :partial => 'attachments/form', :locals => {:container => @memo} %>
+
+
+ <%= f.submit :value => l(:label_memo_create) %>
+ <%= link_to l(:button_cancel), "#", :onclick => '$("#add-memo").hide(); return false;' %>
+
+ <% end %>
+ <% end %>
-<% #= link_to '发布帖子', new_forum_memo_path(@forum), :class => 'icon icon-add' %>
- <%= link_to(
- image_tag('edit.png')+l(:label_forum_edit),
- {:action => 'edit', :id => @forum},
- :method => 'get',
- :title => l(:button_edit)
- ) if @forum.editable_by?(User.current) %>
- <%= link_to(
- image_tag('delete.png')+'删除讨论区',
- {:action => 'destroy', :id => @forum},
- :method => :delete,
- :data => {:confirm => l(:text_are_you_sure)},
- :title => l(:button_delete)
+ <%= link_to(image_tag('edit.png')+l(:label_forum_edit),{:action => 'edit', :id => @forum}, :method => 'get', :title => l(:button_edit)) if @forum.editable_by?(User.current) %>
+ <%= link_to(image_tag('delete.png')+'删除讨论区', {:action => 'destroy', :id => @forum}, :method => :delete, :data => {:confirm => l(:text_are_you_sure)}, :title => l(:button_delete)
) if @forum.destroyable_by?(User.current) %>
<%= link_to l(:label_memo_new_from_forum), new_forum_memo_path(@forum), :class => 'icon icon-add',
- :onclick => 'showAndScrollTo("add-memo", "memo_subject"); return false;' if User.current.logged? %>
+ :onclick => 'showAndScrollTo("add-memo", "memo_subject"); return false;' if User.current.logged? %>
-
<%= render :partial => 'forums/show_topics', :locals => {:memos => @memos} %>
diff --git a/public/stylesheets/project.css b/public/stylesheets/project.css
index 28399462d..673b1f59c 100644
--- a/public/stylesheets/project.css
+++ b/public/stylesheets/project.css
@@ -159,7 +159,7 @@ a:hover.c_dblue{ color: #0781b4;}
.re_top input{ float:left;}
.re_search{ margin-top:7px; margin-left:5px;}
.re_schbox{ width:240px; height:24px; border:1px solid #64bdd9; color:#666666;}
-.re_schbtn{ width:60px; height:26px; color:#fff; margin-right:5px; border:none; margin-left:0px; }
+.re_schbtn{ width: 60px;height: 26px;color: #FFF;margin-right: 5px;margin-left: 0px;padding-left: 0px;border: medium none; }
a.re_fabu { display:block; width:90px; height:30px; font-size:14px; color:#fff; text-align:center; padding-top:10px; }
a:hover.re_fabu{background:#55a1b9;}
.re_con{ margin:5px; width:665px;}