Skip to content

Commit

Permalink
Merge pull request #5752 from gitcoinco/fix-hide-address
Browse files Browse the repository at this point in the history
Fix hide address
  • Loading branch information
thelostone-mc authored Jan 9, 2020
2 parents 25174c3 + bf018a1 commit f2d74d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/grants/templates/grants/activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@
{{subscription.num_tx_approved|floatformat}} time{{ subscription.num_tx_approved|pluralize }}
</div>
</div>
{% if not subscription.contributor_profile.hide_wallet_address %}
<div class="d-none d-md-block col-4 col-md-2 my-auto font-body">
<a class="sub_tx_link" href="https://etherscan.io/tx/{{ subscription.new_approve_tx_id }}" target="_blank" rel="noopener noreferrer">
{% if subscription.new_approve_tx_id %}
View Etherscan
{% endif %}
</a>
</div>
{% endif %}
<div class="offset-lg-1 col-4 col-md-2 my-auto tags font-caption">
<div class="tag tag-lg token">
<p>
Expand Down Expand Up @@ -78,7 +80,7 @@
{% if not transaction.success %} (Failed) {% endif %}
</div>
</div>
{% if not profile.hide_wallet_address or subscription.contributor_profile.has_done_business_with %}
{% if not transaction.subscription.contributor_profile.hide_wallet_address %}
<div class="d-none d-md-block col-md-2 font-body my-auto txn-link">
<a class="tx_link" href="https://etherscan.io/tx/{{ transaction.tx_id }}" target="_blank" rel="noopener noreferrer">
{% if transaction.tx_id %}
Expand Down Expand Up @@ -137,7 +139,7 @@
{{subscription.num_tx_approved|floatformat}} time{{ subscription.num_tx_approved|pluralize }}
</div>
</div>
{% if not profile.hide_wallet_address %}
{% if not subscription.contributor_profile.hide_wallet_address %}
<div class="d-none d-md-block col-md-2 my-auto font-body">
{% if subscription.cancel_tx_id != '0x0' %}
<a class="cancel_tx_link" href="https://etherscan.io/tx/{{ subscription.cancel_tx_id }}" target="_blank" rel="noopener noreferrer">
Expand Down

0 comments on commit f2d74d1

Please sign in to comment.