-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #873 from /issues/853/apoyo
Issues/853/apoyo
- Loading branch information
Showing
7 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ | |
} | ||
|
||
@media screen and (max-width: 991px) { | ||
.fa-stack{ | ||
top: 0; | ||
} | ||
.presidents{ | ||
bottom: -20px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 1 addition & 14 deletions
15
votai_general_theme/templates/popular_proposal/subscribing_result.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,4 @@ | ||
{% load static %} | ||
$('#likers_count_{{proposal.id}}').text('{{proposal.likers.count}}') | ||
$('.modal').modal('hide'); | ||
$('.corazon-{{proposal.id}} a').attr('id', "unlike_proposal_{{proposal.id}}"); | ||
$('.corazon-{{proposal.id}} a').attr('href', "{% url 'popular_proposals:unlike_proposal' pk=like.id %}"); | ||
$('.corazon-{{proposal.id}} a').attr("title", "Ya no quiero apoyar esta propuesta"); | ||
$('.corazon-{{proposal.id}} a').html('Estoy apoyando <i class="fa fa-heart" aria-hidden="true"></i>'); | ||
$('.corazon-{{proposal.id}} a').removeClass('btn-apoyo'); | ||
$('.corazon-{{proposal.id}} a').addClass('unlike_proposal'); | ||
$('.corazon-{{proposal.id}} a').addClass('btn-no-apoyo'); | ||
|
||
$("#unlike_proposal_{{proposal.id}}").click(function(event){ | ||
event.preventDefault(); | ||
var target = $(event.target); | ||
var url = target.parent().attr('href'); | ||
unlike_proposal(url); | ||
}) | ||
$('.corazon-{{proposal.id}}').html({% include 'popular_proposal/_share.html' with popular_proposal=proposal %}); |