summaryrefslogtreecommitdiff
path: root/templates/premades_html.jinja
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2018-01-06 21:18:51 +0100
committerAndré Glüpker <git@wgmd.de>2018-01-06 21:18:51 +0100
commitf3a988f588da40cd9a444dca49f5269803e12ae4 (patch)
treec9e079755155aa9342faf3cbdb508e20626efbc4 /templates/premades_html.jinja
parentfd3e38f818d1cf29fb71820afa0a65e61a875a20 (diff)
downloadsteam-f3a988f588da40cd9a444dca49f5269803e12ae4.tar.gz
steam-f3a988f588da40cd9a444dca49f5269803e12ae4.tar.bz2
steam-f3a988f588da40cd9a444dca49f5269803e12ae4.zip
Some code cleanup
Diffstat (limited to 'templates/premades_html.jinja')
-rw-r--r--templates/premades_html.jinja2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/premades_html.jinja b/templates/premades_html.jinja
index 548a451..8fc4043 100644
--- a/templates/premades_html.jinja
+++ b/templates/premades_html.jinja
@@ -27,7 +27,7 @@
var graph = Viva.Graph.graph();
{% for steamid in steamids %}
- graph.addNode('{{ steamid }}', {url : '{{ profiles[steamid]['avatarmedium'] }}', name : '{{ profiles[steamid]['personaname']|e }}', friends : {% if profiles[steamid]['communityvisibilitystate'] == 3 %} 'yes' {% else %} 'no' {% endif %}});
+ graph.addNode('{{ steamid }}', {url: '{{ profiles[steamid]['avatarmedium'] }}', name: '{{ profiles[steamid]['personaname']|e }}', link: '{{ profiles[steamid]['profileurl'] }}', friends: {% if profiles[steamid]['communityvisibilitystate'] == 3 %} 'yes' {% else %} 'no' {% endif %}});
{% endfor %}
{% for connection in connections %}
graph.addLink('{{ connection[0] }}', '{{ connection[1] }}');