BURs: rename AliasAndImplicationImporter to BulkUpdateRequestProcessor.
The name AliasAndImplicationImporter is a holdover from the time before bulk update requests existed. This was a bad name because it doesn't do any actual importing, instead it's used for parsing and executing bulk update requests.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<% dtext_data = DText.preprocess(bulk_update_requests.map(&:script_with_links)) %>
|
||||
<% dtext_data = DText.preprocess(bulk_update_requests.map(&:processor).map(&:to_dtext)) %>
|
||||
|
||||
<%= table_for bulk_update_requests, width: "100%" do |t| %>
|
||||
<% t.column "Request" do |request| %>
|
||||
@@ -9,7 +9,7 @@
|
||||
<% end %>
|
||||
|
||||
<div class="prose">
|
||||
<%= format_text(request.script_with_links, data: dtext_data) %>
|
||||
<%= format_text(request.processor.to_dtext, data: dtext_data) %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% t.column "Votes" do |request| %>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div style="margin: 1em 0;">
|
||||
<h2>Script</h2>
|
||||
<div class="prose">
|
||||
<%= format_text @bulk_update_request.script_with_links %>
|
||||
<%= format_text @bulk_update_request.processor.to_dtext %>
|
||||
</div>
|
||||
|
||||
<%= render "bur_edit_links", bur: @bulk_update_request %>
|
||||
|
||||
Reference in New Issue
Block a user