From 6197888680f1c8e0d32e87974b6c3aa78dfe03bd Mon Sep 17 00:00:00 2001 From: Shgck Date: Sat, 2 May 2015 14:53:57 +0200 Subject: [PATCH] Fixed left-over link-by-id --- label/templates/label/releases.html | 2 +- label/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/label/templates/label/releases.html b/label/templates/label/releases.html index 1188212..7560d69 100644 --- a/label/templates/label/releases.html +++ b/label/templates/label/releases.html @@ -19,7 +19,7 @@ {% for contrib in release.contribs %} - {{ contrib.name }}{% if not forloop.last %},{% endif %} + {{ contrib.name }}{% if not forloop.last %},{% endif %} {% endfor %} diff --git a/label/tools.py b/label/tools.py index 40a90b8..41298cc 100644 --- a/label/tools.py +++ b/label/tools.py @@ -12,7 +12,7 @@ def get_contribs(contributors): contrib_list = [] for contrib in contributors: contrib_list.append({ - "id": contrib.id, + "slug": contrib.slug, "name": contrib.name }) return contrib_list