diff --git a/app/views/projects/settings/_issue_categories.html.erb b/app/views/projects/settings/_issue_categories.html.erb index e88a85d50..316f28eb4 100644 --- a/app/views/projects/settings/_issue_categories.html.erb +++ b/app/views/projects/settings/_issue_categories.html.erb @@ -1,29 +1,29 @@ -<% if @project.issue_categories.any? %> - - - - - - - -<% for category in @project.issue_categories %> - <% unless category.new_record? %> - - - - - - <% end %> -<% end %> - -
<%= l(:label_issue_category) %><%= l(:field_assigned_to) %>
<%=h(category.name) %><%=h(category.assigned_to.name) if category.assigned_to %> - <% if User.current.allowed_to?(:manage_categories, @project) %> - <%= link_to l(:button_edit), edit_issue_category_path(category), :class => 'icon icon-edit' %> - <%= delete_link issue_category_path(category) %> - <% end %> -
-<% else %> -

<%= l(:label_no_data) %>

-<% end %> - -

<%= link_to l(:label_issue_category_new), new_project_issue_category_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_categories, @project) %>

+<% if @project.issue_categories.any? %> + + + + + + + +<% for category in @project.issue_categories %> + <% unless category.new_record? %> + + + + + + <% end %> +<% end %> + +
<%= l(:label_issue_category) %><%= l(:field_assigned_to) %>
<%=h(category.name) %><%=h(category.assigned_to.name) if category.assigned_to %> + <% if User.current.allowed_to?(:manage_categories, @project) %> + <%= link_to l(:button_edit), edit_issue_category_path(category), :class => 'icon icon-edit' %> + <%= delete_link issue_category_path(category) %> + <% end %> +
+<% else %> +

<%= l(:label_no_data) %>

+<% end %> + +

<%= link_to l(:label_issue_category_new), new_project_issue_category_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_categories, @project) %>

diff --git a/public/stylesheets/nyan.css b/public/stylesheets/nyan.css index 703d81c5e..f40c0801d 100644 --- a/public/stylesheets/nyan.css +++ b/public/stylesheets/nyan.css @@ -1,5 +1,8 @@ /* TODO: base/common/page 准备封装一些基本样式组合调用 参考YUI *******************************************************************************/ +.text_center{ + text-align: center; +} /* 按钮 *******************************************************************************/