enable ragel parser in more places
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<tr id="ban-<%= ban.id %>">
|
||||
<td><%= link_to_user(ban.user) %></td>
|
||||
<td><%= ban.expires_at %></td>
|
||||
<td><%= format_text ban.reason %></td>
|
||||
<td><%= format_text ban.reason, :ragel => true %></td>
|
||||
<td>
|
||||
<% if CurrentUser.is_moderator? %>
|
||||
<%= link_to "Edit", edit_ban_path(ban) %>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<ul style="margin-bottom: 1em;">
|
||||
<li><strong>User</strong>: <%= link_to_user(@ban.user) %></li>
|
||||
<li><strong>Expires</strong>: <%= compact_time @ban.expires_at %></li>
|
||||
<li><strong>Reason</strong>: <%= format_text @ban.reason %></li>
|
||||
<li><strong>Reason</strong>: <%= format_text @ban.reason, :ragel => true %></li>
|
||||
</ul>
|
||||
|
||||
<%= form_tag(ban_path(@ban), :method => :delete) do %>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
<h3>Body</h3>
|
||||
<div class="prose">
|
||||
<%= format_text(@dmail.body) %>
|
||||
<%= format_text(@dmail.body, :ragel => true) %>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<h3>Body</h3>
|
||||
<div class="prose">
|
||||
<%= format_text(@dmail.body) %>
|
||||
<%= format_text(@dmail.body, :ragel => true) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<tr>
|
||||
<td><%= compact_time mod_action.created_at %></td>
|
||||
<td><%= link_to_user mod_action.creator %></td>
|
||||
<td><%= format_text(mod_action.description) %></td>
|
||||
<td><%= format_text(mod_action.description, :ragel => true) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<% @dashboard.mod_actions.each do |mod_action| %>
|
||||
<tr>
|
||||
<td><%= link_to_user mod_action.creator %></td>
|
||||
<td><%= format_text(mod_action.description) %></td>
|
||||
<td><%= format_text(mod_action.description, :ragel => true) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<% @dashboard.user_feedbacks.each do |record| %>
|
||||
<tr class="feedback-category-<%= record.category %>">
|
||||
<td><%= link_to_user(record.user) %></td>
|
||||
<td><%= format_text(record.body) %></td>
|
||||
<td><%= format_text(record.body, :ragel => true) %></td>
|
||||
<td><%= time_ago_in_words_tagged(record.created_at) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<tr>
|
||||
<td><%= PostPresenter.preview(post_appeal.post, :tags => "status:any") %></td>
|
||||
<td><%= link_to_user post_appeal.creator %></td>
|
||||
<td><%= format_text post_appeal.reason %></td>
|
||||
<td><%= format_text post_appeal.reason, :ragel => true %></td>
|
||||
<td><%= compact_time post_appeal.updated_at %></td>
|
||||
<td><%= post_appeal.resolved? %></td>
|
||||
</tr>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<%= link_to_user event.creator %>
|
||||
</td>
|
||||
<% end %>
|
||||
<td><%= format_text event.reason %></td>
|
||||
<td><%= format_text event.reason, :ragel => true %></td>
|
||||
<td>
|
||||
<% if event.is_resolved %>
|
||||
yes
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<%= link_to_user post_flag.creator %>
|
||||
</td>
|
||||
<% end %>
|
||||
<td><%= format_text post_flag.reason %></td>
|
||||
<td><%= format_text post_flag.reason, :ragel => true %></td>
|
||||
<td><%= compact_time post_flag.updated_at %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user