This Scenario contains one or more potentially dangerous Agents.
These may be able to run local commands or execute code.
Please be sure that you understand the Agent configurations before importing!
<% end %>
<% if @scenario_import.existing_scenario.present? %>
This Scenario already exists in your system. The import will update your existing
<%= scenario_label(@scenario_import.existing_scenario) %> Scenario's title,
description, and tag colors. Below you can customize how the individual agents get updated.
<% @scenario_import.agent_diffs.each.with_index do |agent_diff, index| %>
<%= agent_diff.name.incoming %>
(<%= agent_diff.type.incoming %><% " -- WARNING: this Agent's type has been changed. This import will likely fail!" if agent_diff.type.requires_merge? %>)
<% if agent_diff.agent_exists? %>
This Agent exists in your Huginn system.
<% if agent_diff.requires_merge? %>
Here are the differences between the incoming version and the one you have now. For each field, please
select which value you'd like to keep.
<% else %>
It's already up-to-date.
<% end %>