From 00ce28f8d71889f26bc5ddf1ba4e50623f2d14b3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 17 Jan 2009 07:53:32 +0000 Subject: [PATCH] Slight visual changes on the issue form. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2269 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_form.rhtml | 2 ++ app/views/issues/_form_update.rhtml | 2 ++ public/stylesheets/application.css | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/app/views/issues/_form.rhtml b/app/views/issues/_form.rhtml index 0ca12554d..ff9b37685 100644 --- a/app/views/issues/_form.rhtml +++ b/app/views/issues/_form.rhtml @@ -15,6 +15,7 @@ :class => 'wiki-edit' %>

+
<% if @issue.new_record? || @allowed_statuses.any? %>

<%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %>

@@ -43,6 +44,7 @@
<%= render :partial => 'form_custom_fields' %> +
<% if @issue.new_record? %>

<%= render :partial => 'attachments/form' %>

diff --git a/app/views/issues/_form_update.rhtml b/app/views/issues/_form_update.rhtml index 25e81a7fd..3f17a0300 100644 --- a/app/views/issues/_form_update.rhtml +++ b/app/views/issues/_form_update.rhtml @@ -1,3 +1,4 @@ +

<%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %>

<%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %>

@@ -8,3 +9,4 @@ (@project.versions.sort.collect {|v| [v.name, v.id]}), { :include_blank => true })) unless @project.versions.empty? %>
+
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index f0ba7929d..a4251af91 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -231,6 +231,10 @@ table#time-report tbody tr.last-level { font-style: normal; color: #555; } table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; } table#time-report .hours-dec { font-size: 0.9em; } +form#issue-form .attributes { margin-bottom: 8px; } +form#issue-form .attributes p { padding-top: 1px; padding-bottom: 2px; } +form#issue-form .attributes select { min-width: 30%; } + ul.properties {padding:0; font-size: 0.9em; color: #777;} ul.properties li {list-style-type:none;} ul.properties li span {font-style:italic;}