Patch #1680 ยป textilizable_version_description.patch
app/views/versions/_form.rhtml (working copy) | ||
---|---|---|
3 | 3 |
<div class="box"> |
4 | 4 |
<p><%= f.text_field :name, :size => 60, :required => true %></p> |
5 | 5 |
<p><%= f.text_field :description, :size => 60 %></p> |
6 |
<p><%= f.text_area :description, |
|
7 |
:cols => 60, |
|
8 |
:rows => (@version.description.blank? ? 10 : [[10, @version.description.length / 50].max, 100].min), |
|
9 |
:accesskey => accesskey(:edit), |
|
10 |
:class => 'wiki-edit' %></p> |
|
6 | 11 |
<p><%= f.text_field :wiki_page_title, :label => :label_wiki_page, :size => 60, :disabled => @project.wiki.nil? %></p> |
7 | 12 |
<p><%= f.text_field :effective_date, :size => 10 %><%= calendar_for('version_effective_date') %></p> |
8 | 13 |
</div> |
app/views/versions/_overview.rhtml (working copy) | ||
---|---|---|
6 | 6 |
<p><strong><%=l(:label_roadmap_due_in)%> <%= distance_of_time_in_words Time.now, version.effective_date %> (<%= format_date(version.effective_date) %>)</strong></p> |
7 | 7 |
<% end %> |
8 | 8 | |
9 |
<p><%=h version.description %></p>
|
|
9 |
<p><%= textilizable version.description %></p>
|
|
10 | 10 | |
11 | 11 |
<% if version.fixed_issues.count > 0 %> |
12 | 12 |
<%= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) %> |