Skip to content

Commit

Permalink
added review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Nov 5, 2018
1 parent c4fc15f commit d2582a5
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions app/kudos/templates/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
max-width: 100%;
overflow: scroll;
overflow-y: auto;
}

.modal-content {
Expand Down Expand Up @@ -54,11 +54,6 @@
width: 150px;
}

.tooltip-share .kudos_msg {
padding-left: 2px;
padding-right: 2px;
}

.tooltip-inner .title-tooltip {
font-size: 0.65rem;
}
Expand Down Expand Up @@ -121,7 +116,7 @@ <h1 class="font-title-lg mb-4">Share Kudos!</h1>
</div>
</div>
<div class="col-12 my-4 text-center">
<input class="form__input"type="text" value="www.gitcoin.co{{request.get_full_path}}" id="shareLink" readonly>
<input class="form__input"type="text" value="{{ request.META.HTTP_HOST }}{% url 'kudos_details' kudos.id kudos.name %}" id="shareLink" readonly>
<button class="btn btn-gc-blue button__small font-body" id="copyLink">
<i data-toggle="tooltip" title="" data-html="true"
data-original-title="<span class='title-tooltip text-center'>Click To Copy</span>"
Expand All @@ -132,10 +127,10 @@ <h1 class="font-title-lg mb-4">Share Kudos!</h1>
</div>
<div class="col-12 text-center">
<a class="btn btn-gc-blue share-button font-body" target="_blank" rel="noopener noreferrer"
href="https://twitter.com/intent/tweet?text=Check%20out%20the%20{{kudos.name|humanize_name}}%20kudos%21%20www.gitcoin.co{{request.get_full_path}}"
href="https://twitter.com/intent/tweet?text=Check%20out%20the%20{{kudos.name|humanize_name}}%20kudos%21%20{{ request.META.HTTP_HOST }}{% url 'kudos_details' kudos.id kudos.name %}"
data-size="large"><i class="fab fa-twitter mr-2"></i>Share on Twitter</a>
<a class="btn btn-gc-blue share-button font-body" target="_blank" rel="noopener noreferrer"
href="https://www.facebook.com/sharer/sharer.php?u=www.gitcoin.co{{request.get_full_path}}"
href="https://www.facebook.com/sharer/sharer.php?u={{ request.META.HTTP_HOST }}{% url 'kudos_details' kudos.id kudos.name %}"
data-size="large"><i class="fab fa-facebook mr-2"></i>Share on Facebook</a>
</div>
</div>
Expand Down

0 comments on commit d2582a5

Please sign in to comment.