Project

General

Profile

Defect #91 ยป missing_textilizations.patch

Balazs Dan, 2008-02-03 10:51

View differences:

app/views/admin/projects.rhtml (working copy)
27 27
<% for project in @projects %>
28 28
  <tr class="<%= cycle("odd", "even") %>">
29 29
	<td><%= project.active? ? link_to(project.name, :controller => 'projects', :action => 'settings', :id => project) : h(project.name) %>
30
	<td><%=h project.description %>
30
	<td><%= textilizable project.description %>
31 31
	<td align="center"><%= image_tag 'true.png' if project.is_public? %>
32 32
	<td align="center"><%= project.children.size %>
33 33
	<td align="center"><%= format_date(project.created_on) %>
app/views/projects/_form.rhtml (working copy)
9 9
<% end %>
10 10

  
11 11
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 3 %><br /><em><%= l(:text_caracters_maximum, 255) %></em></p>
12
<%= wikitoolbar_for 'project_description' %>
12 13
<p><%= f.text_field :identifier, :required => true, :size => 15, :disabled => @project.identifier_frozen? %><br /><em><%= l(:text_length_between, 3, 12) %> <%= l(:text_project_identifier_info) unless @project.identifier_frozen? %></em></p>
13 14
<p><%= f.text_field :homepage, :size => 40 %></p>
14 15
<p><%= f.check_box :is_public %></p>
app/views/projects/list.rhtml (working copy)
11 11
  <tr class="<%= cycle("odd", "even") %>">
12 12
	<td>
13 13
	  <%= link_to project.name, {:action => 'show', :id => project}, :class => (@logged_in_user && @logged_in_user.role_for_project(project) ? "icon icon-fav" : "") %><br />
14
	  <%=h project.description %>
14
	  <%= textilizable project.description %>
15 15
	</td>
16 16
	<td><%= link_to(project.parent.name, :action => 'show', :id => project.parent) unless project.parent.nil? %></td>
17 17
	<td align="center"><%= format_date(project.created_on) %></td>
app/views/settings/edit.rhtml (working copy)
11 11

  
12 12
<p><label><%= l(:setting_welcome_text) %></label>
13 13
<%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5 %></p>
14
<%= wikitoolbar_for 'settings[welcome_text]' %>
14 15

  
15 16
<p><label><%= l(:setting_default_language) %></label>
16 17
<%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p>
app/views/welcome/index.rhtml (working copy)
15 15
		<% for project in @projects %>
16 16
			<li>
17 17
			<%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)<br />
18
			<%=h project.description %>
18
			<%= textilizable project.description %>
19 19
			</li>
20 20
		<% end %>
21 21
		</ul>
    (1-1/1)