Skip to content

Commit

Permalink
Changing charts to use highcharts - updates #111
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanP committed Dec 19, 2013
1 parent 03b299a commit c1cca77
Show file tree
Hide file tree
Showing 4 changed files with 327 additions and 48 deletions.
9 changes: 7 additions & 2 deletions src/accounts/templates/accounts/user_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@


{% block head_js %}
{% include "pizza-chart.html" with chart_data=type_count chart_div="collabs" chart_height=300 %}
{% include "pizza-chart.html" with chart_data=list_activity chart_div="collabs2" chart_height=300 %}
<script src="{{ STATIC_URL }}third-party/highcharts/js/highcharts.js"></script>

{% trans "Messages" as group_collabs %}
{% trans "Contributions" as type_collabs %}

{% include "pizza-chart.html" with chart_data=type_count chart_div="collabs" chart_height=300 name=type_collabs %}
{% include "pizza-chart.html" with chart_data=list_activity chart_div="collabs2" chart_height=300 name=group_collabs %}
{% endblock %}

{% block main-content %}
Expand Down
Loading

0 comments on commit c1cca77

Please sign in to comment.