Remove ruby DText implementation (#3206).

This commit is contained in:
evazion
2017-07-14 23:34:52 -05:00
parent d48ed95191
commit 7cb7c2fbab
40 changed files with 47 additions and 582 deletions

View File

@@ -28,7 +28,7 @@
</td>
<td><%= time_ago_in_words_tagged(ban.created_at) %></td>
<td><%= humanized_duration(ban.created_at, ban.expires_at) %></td>
<td class="col-expand"><%= format_text ban.reason, :ragel => true %></td>
<td class="col-expand"><%= format_text ban.reason %></td>
<td>
<% if CurrentUser.is_moderator? %>
<%= link_to "Edit", edit_ban_path(ban) %>

View File

@@ -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, :ragel => true %></li>
<li><strong>Reason</strong>: <%= format_text @ban.reason %></li>
</ul>
<%= form_tag(ban_path(@ban), :method => :delete) do %>