<%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) %> |
- <%= link_to h(topic.subject), board_message_path(@board, topic) %> |
+ <%= link_to h(topic.subject), board_message_path(@board, topic) %> |
<%=link_to (topic.replies_count), board_message_path(@board, topic) %> |
回答 |
|
diff --git a/app/views/forums/_show_topics.html.erb b/app/views/forums/_show_topics.html.erb
index 1aab4af80..61b136ba1 100644
--- a/app/views/forums/_show_topics.html.erb
+++ b/app/views/forums/_show_topics.html.erb
@@ -5,7 +5,7 @@
<% if memos.any? %>
<% memos.each do |topic| %>
- <%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) %> |
+ <%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) %> |
diff --git a/app/views/forums/show.html.erb b/app/views/forums/show.html.erb
index bb358c99c..8388b6aef 100644
--- a/app/views/forums/show.html.erb
+++ b/app/views/forums/show.html.erb
@@ -14,7 +14,7 @@
<% end %>
-
+
<%= f.text_field :subject, :required => true, :size => 95 %>
<%= f.text_area :content, :required => true, :id => 'editor02' %>
@@ -24,7 +24,7 @@
<%= 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;' %>
+ <%= link_to l(:button_cancel), "#", :onclick => '$("#add-memo").hide(); return false;' %>
<% end %>
<% end %>
diff --git a/app/views/layouts/_base_header.html.erb b/app/views/layouts/_base_header.html.erb
index 516bdaa4e..a2f0cde18 100644
--- a/app/views/layouts/_base_header.html.erb
+++ b/app/views/layouts/_base_header.html.erb
@@ -8,16 +8,6 @@
<%= content_tag('div', "#{link_to(l(:label_layouts_feedback)+'(' + User.current.count_new_jour.to_s + ')', feedback_path(User.current))}".html_safe, :id => 'loggedas') if User.current.logged? %>
<%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
<%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
-
-
-
-
-
-
diff --git a/app/views/layouts/base_forums.html.erb b/app/views/layouts/base_forums.html.erb
index cd53d6140..48f55244e 100644
--- a/app/views/layouts/base_forums.html.erb
+++ b/app/views/layouts/base_forums.html.erb
@@ -1,4 +1,3 @@
-
@@ -14,7 +13,6 @@
<%= heads_for_theme %>
<%= javascript_include_tag "ckeditor/ckeditor.js" %>
<%= call_hook :view_layouts_base_html_head %>
-
<%= yield :header_tags -%>
@@ -26,8 +24,8 @@
- 软件项目托管社区 |
- <%= l(:label_user_location) %> : |
+ 软件项目托管社区 |
+ <%= l(:label_user_location) %> : |
<%= form_tag(:controller => 'forums', :action => "search_memo", :id => params[:id], :method => :get) do %>
@@ -39,9 +37,8 @@
|
- <%= link_to "forge.trustie.net/forums", forums_path %> |
- <%=link_to l(:label_home),home_path %> > <%=link_to '公共贴吧', :controller => 'forums', :action => 'index' %> > <%=link_to @forum.name, forum_path(@forum) %> |
+ <%= link_to "forge.trustie.net/forums", forums_path %> |
+ <%=link_to l(:label_home),home_path %> > <%=link_to '公共贴吧', :controller => 'forums', :action => 'index' %> > <%=link_to @forum.name, forum_path(@forum) %> |
@@ -49,24 +46,27 @@
@@ -78,7 +78,7 @@
<%= render :partial => 'layouts/base_footer'%>
- <%= debug(params) if Rails.env.development? %>
+ <%= debug(params) if Rails.env.development? %>
<%= l(:label_loading) %>
@@ -86,7 +86,8 @@
- <%= call_hook :view_layouts_base_body_bottom %>
+
+ <%= call_hook :view_layouts_base_body_bottom %>
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) %> : |
<%= form_tag(:controller => 'projects', :action => "search", :method => :get) do %>
- <%= text_field_tag 'name', params[:name], :size => 20 %>
- <%= hidden_field_tag 'project_type', params[:project_type] %>
- <%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
+ <%= text_field_tag 'name', params[:name], :size => 20 %>
+ <%= hidden_field_tag 'project_type', params[:project_type] %>
+ <%= submit_tag l(:label_search), :class => "enterprise", :name => nil %>
<% end %>
|
- <%= 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) %> |
-
-
+
+
-
-
@@ -154,6 +145,7 @@
<%= call_hook :view_layouts_base_body_bottom %>
+
| |