summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-27 19:12:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-27 19:12:52 +0000
commitf816d4f3784409ff505f4f88ad46e7f7fb447a96 (patch)
tree07b9edbb6d3cdb1418a39c24881a1e73d4073d54 /app/views/issues
parent184be9d0e3aff4e5166d7ea3d35aeb55a81162ee (diff)
downloadredmine-f816d4f3784409ff505f4f88ad46e7f7fb447a96.tar.gz
redmine-f816d4f3784409ff505f4f88ad46e7f7fb447a96.zip
Fixed: Long text custom fields displayed without line breaks
Added wiki toolbar for issue notes git-svn-id: http://redmine.rubyforge.org/svn/trunk@576 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/show.rhtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml
index 0bbc20c4d..5ef8acf58 100644
--- a/app/views/issues/show.rhtml
+++ b/app/views/issues/show.rhtml
@@ -34,7 +34,7 @@
<tr>
<% n = 0
for custom_value in @custom_values %>
- <td><b><%= custom_value.custom_field.name %> :</b></td><td><%= h(show_value(custom_value)) %></td>
+ <td valign="top"><b><%= custom_value.custom_field.name %> :</b></td><td><%= simple_format(h(show_value(custom_value))) %></td>
<% n = n + 1
if (n > 1)
n = 0 %>
@@ -109,6 +109,7 @@ end %>
<% form_tag({:controller => 'issues', :action => 'add_note', :id => @issue}, :class => "tabular" ) do %>
<p><label for="notes"><%=l(:field_notes)%></label>
<%= text_area_tag 'notes', '', :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
+ <%= wikitoolbar_for 'notes' %>
<%= submit_tag l(:button_add) %>
<% end %>
</div>