<% symbol = if symbol != "Ether", do: link(symbol, to: token_path(BlockScoutWeb.Endpoint, :show, address), "data-test": "token_link"), else: raw(symbol) %>
<%= if Enum.member?([:enable_collateral, :disable_collateral], @action.type) do %>
<div class="<%= if @isLast, do: "lastItem", else: "" %>">
<span class="actions-item">
<% symbol = Map.get(@action.data, "symbol") %>
<% address = Map.get(@action.data, "address") %>
<i class="fa fa-caret-right"></i>
<% symbol = if symbol != "Ether", do: link(symbol, to: token_path(BlockScoutWeb.Endpoint, :show, address), "data-test": "token_link"), else: raw(symbol) %>
<%= if @action.type == :enable_collateral do %>
<span class="text-muted">Enable</span>
<% else %>
<span class="text-muted">Disable</span>
<% end %>
<%= symbol %> <span class="text-muted">as Collateral on Aave Protocol V3</span>
</span>
<br />
</div>
<% end %>
<%= if @action.type == :liquidation_call do %>
<div class="<%= if @isLast, do: "lastItem", else: "" %>">