mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
* Allow reverting imports * Fix tests * Add currency column to all imports * Don't auto-enrich demo account
17 lines
561 B
Text
17 lines
561 B
Text
<%= content_for :header_nav do %>
|
|
<%= render "imports/nav", import: @import %>
|
|
<% end %>
|
|
|
|
<%= content_for :previous_path, import_confirm_path(@import) %>
|
|
|
|
<% if @import.importing? %>
|
|
<%= render "imports/importing", import: @import %>
|
|
<% elsif @import.complete? %>
|
|
<%= render "imports/success", import: @import %>
|
|
<% elsif @import.failed? %>
|
|
<%= render "imports/failure", import: @import %>
|
|
<% elsif @import.revert_failed? %>
|
|
<%= render "imports/revert_failure", import: @import %>
|
|
<% else %>
|
|
<%= render "imports/ready", import: @import %>
|
|
<% end %>
|