Slight visual changes on the issue form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2269 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-01-17 07:53:32 +00:00
parent b4640a0904
commit 00ce28f8d7
3 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,7 @@
:class => 'wiki-edit' %></p> :class => 'wiki-edit' %></p>
</div> </div>
<div class="attributes">
<div class="splitcontentleft"> <div class="splitcontentleft">
<% if @issue.new_record? || @allowed_statuses.any? %> <% if @issue.new_record? || @allowed_statuses.any? %>
<p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p> <p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p>
@ -43,6 +44,7 @@
<div style="clear:both;"> </div> <div style="clear:both;"> </div>
<%= render :partial => 'form_custom_fields' %> <%= render :partial => 'form_custom_fields' %>
</div>
<% if @issue.new_record? %> <% if @issue.new_record? %>
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p> <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>

View File

@ -1,3 +1,4 @@
<div class="attributes">
<div class="splitcontentleft"> <div class="splitcontentleft">
<p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p> <p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p>
<p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p> <p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p>
@ -8,3 +9,4 @@
(@project.versions.sort.collect {|v| [v.name, v.id]}), (@project.versions.sort.collect {|v| [v.name, v.id]}),
{ :include_blank => true })) unless @project.versions.empty? %> { :include_blank => true })) unless @project.versions.empty? %>
</div> </div>
</div>

View File

@ -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 tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
table#time-report .hours-dec { font-size: 0.9em; } 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 {padding:0; font-size: 0.9em; color: #777;}
ul.properties li {list-style-type:none;} ul.properties li {list-style-type:none;}
ul.properties li span {font-style:italic;} ul.properties li span {font-style:italic;}