diff options
author | André Glüpker <git@wgmd.de> | 2018-01-06 21:18:51 +0100 |
---|---|---|
committer | André Glüpker <git@wgmd.de> | 2018-01-06 21:18:51 +0100 |
commit | f3a988f588da40cd9a444dca49f5269803e12ae4 (patch) | |
tree | c9e079755155aa9342faf3cbdb508e20626efbc4 /templates | |
parent | fd3e38f818d1cf29fb71820afa0a65e61a875a20 (diff) | |
download | steam-f3a988f588da40cd9a444dca49f5269803e12ae4.tar.gz steam-f3a988f588da40cd9a444dca49f5269803e12ae4.tar.bz2 steam-f3a988f588da40cd9a444dca49f5269803e12ae4.zip |
Some code cleanup
Diffstat (limited to 'templates')
-rw-r--r-- | templates/premades_html.jinja | 2 |
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] }}'); |