From f3a988f588da40cd9a444dca49f5269803e12ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Sat, 6 Jan 2018 21:18:51 +0100 Subject: Some code cleanup --- templates/premades_html.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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] }}'); -- cgit v1.2.3