Created
November 1, 2011 11:55
-
-
Save marcelcaraciolo/1330384 to your computer and use it in GitHub Desktop.
question_recommendation
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
{% load thumbnails %} | |
({ | |
name:'{{ recommendation.name }}', | |
profile_url: '{{ recommendation.get_absolute_url }}', | |
follow_url: '{% url join_studygroup recommendation.slug %}', | |
thumbnail: '{% get_thumbnail_url recommendation 'minimum' %}', | |
type: '{{ type }}', | |
itens_count: '{{ itens_count }}', | |
why: { | |
users:[ | |
{% for item in itens %} | |
{ | |
name: '{{ item.profile.alt_text }}', | |
profile_url: '{{ item.profile.get_absolute_url }}' | |
}{% if not forloop.last %}, {% endif %} | |
{% endfor %} | |
], | |
in_common: {{ itens_count }} | |
}, | |
rec_id: '{{ recommendation_id }}', | |
html: '{% filter escapejs %}{% include 'recommendations/_group_recommendation.html' %}{% endfilter %}', | |
selector: '#group_recommendation_{{ recommendation_id }}' | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment