Skip to content

Commit

Permalink
Pop Over Over Site (#6771)
Browse files Browse the repository at this point in the history
* Pop Over

* Pop over on search results

* leaderboard pop over

* Pop over quests
  • Loading branch information
molecula451 authored Jun 17, 2020
1 parent b9aba39 commit 6d898ef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/dashboard/templates/shared/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<ul class="gc-search-result">
<template v-if="results && results[source_type]">
<li v-for="result in results[source_type]" class="gc-search-result__content p-3" :key="result.id">
<a :href="[[ result.url ]]" class="d-flex">
<a :href="[[ result.url ]]" class="d-flex" v-bind:data-usercard="result.title">
<img class="gc-search__avatar my-auto mr-3" :src="[[ result.img_url ]]" :alt="result.title" />
<div>
<p class="gc-search-result__title font-body mb-0">[[ result.title ]]</p>
Expand Down
1 change: 1 addition & 0 deletions app/quests/templates/quests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ <h4 class="pt-0">Play Gitcoin Quests Now.</h4>
{% block 'scripts' %}
<script src="{% static "v2/js/lib/jquery-unveil.js" %}"></script>
<script src="{% static "v2/js/pages/quests.index.js" %}"></script>
<script src="{% static "v2/js/user_card.js" %}"></script>
<script>
$(document).ready(function() {
setInterval(function(){
Expand Down
2 changes: 1 addition & 1 deletion app/retail/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h4 class="font-heading">{% trans "We are Proudly" %}</h4>
<div class="col-10 col-md-6 col-lg-3 mx-auto">
<div class="card">
{% if handle %}
<a href="/profile/{{handle}}">
<a href="/profile/{{handle}}" data-usercard="{{handle}}>
{% endif %}
<img class="avatar {{fname}} mx-auto" src="/static/v2/images/team/{{fname}}.png">
{% if handle %}
Expand Down
4 changes: 2 additions & 2 deletions app/retail/templates/leaderboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h1 class="font-title-lg font-weight-semibold mt-2">{% trans "None found" %}</h1
{% endif %}
<div class="ml-3 item-count-bounties" style="white-space: nowrap">
{% if not is_linked_to_profile %}
<a href="/profile/{{item.github_username}}" target="_blank" >
<a href="/profile/{{item.github_username}}" data-usercard="{{item.github_username}}" target="_blank" >
{{item.at_ify_username}}
</a>
{% else %}
Expand Down Expand Up @@ -212,7 +212,7 @@ <h1 class="font-title-lg font-weight-semibold mt-2">{% trans "None found" %}</h1
<script src="/dynamic/js/tokens_dynamic.js"></script>
<script src="{% static "v2/js/tokens.js" %}"></script>
<script src="{% static "v2/js/pages/leaderboard.js" %}"></script>

<script src="{% static "v2/js/user_card.js" %}"></script>
<script src="{% static "v2/js/lib/jquery-unveil.js" %}"></script>
<script>
$(document).ready(function() {
Expand Down

0 comments on commit 6d898ef

Please sign in to comment.