-
-
<%=l(:label_version_plural)%>
-
+
+ <%= l(:label_version) %> | <%= l(:field_effective_date) %> | <%= l(:field_description) %> | | |
+
<% for version in @project.versions %>
-
- <%=h version.name %> |
- <%= format_date(version.effective_date) %> |
- <%=h version.description %> |
-
- <%= link_to_if_authorized l(:button_edit), { :controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %>
- <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %>
- |
-
-<% end %>
-
-<% if authorize_for('projects', 'add_version') %>
-
- <%= link_to l(:label_version_new), :controller => 'projects', :action => 'add_version', :id => @project %>
-<% end %>
-
+
+ <%=h version.name %> |
+ <%= format_date(version.effective_date) %> |
+ <%=h version.description %> |
+ <%= link_to_if_authorized l(:button_edit), { :controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %> |
+ <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %> |
+
+
+<% end; reset_cycle %>
+
+
+<%= link_to_if_authorized l(:label_version_new), :controller => 'projects', :action => 'add_version', :id => @project %>
-
-
<%=l(:label_issue_category_plural)%>
-
+
+ <%= l(:label_issue_status) %> | |
+
<% for @category in @project.issue_categories %>
<% unless @category.new_record? %>
-
+
<%= start_form_tag :controller => 'issue_categories', :action => 'edit', :id => @category %>
<%= text_field 'category', 'name', :size => 25 %>
- |
-
<% if authorize_for('issue_categories', 'edit') %>
<%= submit_tag l(:button_save), :class => "button-small" %>
<%= end_form_tag %>
<% end %>
|
-
+ |
<%= link_to_if_authorized l(:button_delete), {:controller => 'issue_categories', :action => 'destroy', :id => @category}, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %>
|
<% end %>
<% end %>
+
<% if authorize_for('projects', 'add_issue_category') %>
-
<%= start_form_tag :action => 'add_issue_category', :tab => 'categories', :id => @project %>
<%= error_messages_for 'issue_category' %>
@@ -117,7 +110,6 @@
<%= end_form_tag %>
<% end %>
-
<%= tab = params[:tab] ? h(params[:tab]) : 'info'
javascript_tag "showTab('#{tab}');" %>
\ No newline at end of file
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index afe4eefd2..44cc3a207 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -336,6 +336,10 @@ table.with-cells td {
border: 1px solid #d7d7d7;
}
+table.list td {
+ padding:2px;
+}
+
table.list thead th {
text-align: center;
background: #eee;