diff --git a/app/views/layouts/_tag.html.erb b/app/views/layouts/_tag.html.erb
deleted file mode 100644
index e0e2b49fd..000000000
--- a/app/views/layouts/_tag.html.erb
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-<% else %>
-<%= toggle_link (image_tag "/images/sidebar/add.png"), 'put-tag-form', {:focus => 'name'} %>
-
- <%= render :partial => "layouts/tag_name",:locals => {:obj => obj,:non_list_all => false ,:object_flag => object_flag} %>
-
-
- <%= form_for "tag_for_save",:remote=>true,:url=>tag_path,
- :update => "tags_show",
- :complete => '$("#put-tag-form").hide();' do |f| %>
- <%= f.text_field :name ,:id => "name",:size=>"28"%>
- <%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
- <%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
- <%= f.submit "add"%>
- <%= link_to_function l(:button_cancel), '$("#put-tag-form").hide();'%>
- <% end %>
-
-
-<% end %>
diff --git a/app/views/layouts/_tag_name.html.erb b/app/views/layouts/_tag_name.html.erb
deleted file mode 100644
index 6a54878ed..000000000
--- a/app/views/layouts/_tag_name.html.erb
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-<% @tags = obj.reload.tag_list %>
-
-<% if non_list_all and (@tags.size > 0) %>
-
- <% if @tags.size > Setting.show_tags_length.to_i then %>
- <% i = 0 %>
- <% until i>Setting.show_tags_length.to_i do %>
-
- <%= link_to @tags[i], :controller => "tags",:action => "index",:q => @tags[i],:object_flag => object_flag,:obj_id => obj.id %>
-
- <% i += 1%>
- <% end %>
- <%= link_to l(:label_more_tags),:action => "show",:id => obj.id %>
-
- <% else %>
-
- <% @tags.each do |tag| %>
-
- <%= link_to tag,:controller => "tags",:action => "index",:q=>tag,:object_flag => object_flag,:obj_id => obj.id
- %>
-
- <% end %>
- <% end %>
-
-<% else %>
-
- <% if @tags.size > 0 %>
- <% @tags.each do |tag| %>
-
- <%= link_to tag,:controller => "tags",:action => "index",:q=>tag ,:object_flag => object_flag,:obj_id => obj.id %>
-
- <% end %>
- <% end %>
-
-<% end %>
\ No newline at end of file
diff --git a/app/views/tags/_tag.html.erb b/app/views/tags/_tag.html.erb
index 521f07d83..9ce6ea86b 100644
--- a/app/views/tags/_tag.html.erb
+++ b/app/views/tags/_tag.html.erb
@@ -1,14 +1,22 @@
<% else %>
+
<% if User.current.logged? %>
-<%= toggle_link (image_tag "/images/sidebar/add.png"), 'put-tag-form', {:focus => 'name'} %>
+ <%= toggle_link (image_tag "/images/sidebar/add.png"), 'put-tag-form', {:focus => 'name'} %>
<% end %>
+
+
+
<%= render :partial => "tags/tag_name",:locals => {:obj => obj,:non_list_all => false ,:object_flag => object_flag} %>
@@ -45,3 +57,4 @@
<% end %>
+<% end %>
\ No newline at end of file
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index f17af3147..4646f021a 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -117,6 +117,15 @@ ul.tool li{list-style-type:none;
font-weight: bold;
}
+.font_title_tag{
+ font-family:微软雅黑;
+ font-weight:bold;
+ padding-top:3px;
+ padding-bottom:3px;
+ font-size:16px;
+ /*color:#05a8bb;*/
+}
+
.font_title_left{
font-family:微软雅黑;
font-weight:bold;