Merge pull request #1280 from poanetwork/1158-verify-contract-message-info

Use info style in verify contract message
pull/1264/head
Andrew Cravenho 6 years ago committed by GitHub
commit 04d734fb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/block_scout_web/lib/block_scout_web/templates/transaction/_decoded_input.html.eex
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/transaction_log/index.html.eex

@ -4,7 +4,7 @@
<!-- Input -->
<%= case @decoded_input_data do %>
<% {:error, :contract_not_verified} -> %>
<div class="alert alert-danger">
<div class="alert alert-info">
<%= gettext "To see decoded input data, the contract must be verified." %>
<%= case @transaction do %>
<% %{to_address: %{hash: hash}} -> %>

@ -27,7 +27,7 @@
<dd class="col-md-11">
<%= case decode(log, @transaction) do %>
<% {:error, :contract_not_verified} -> %>
<div class="alert alert-danger">
<div class="alert alert-info">
<%= gettext "To see decoded input data, the contract must be verified." %>
<%= case @transaction do %>
<% %{to_address: %{hash: hash}} -> %>

Loading…
Cancel
Save