From ca5280df7d65dbc8bf5f44cc87073b90ae0dc5a6 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 20 2015 11:09:31 +0000 Subject: Fix the template listing all the requests now that we can use their id normally --- diff --git a/progit/templates/requests.html b/progit/templates/requests.html index 1e9ebe8..ecb5bd0 100644 --- a/progit/templates/requests.html +++ b/progit/templates/requests.html @@ -35,21 +35,21 @@ {% for request in requests %} - #{{ request[1] }} + #{{ request.id }} - {{ request[0].title }} + repo=repo.name, requestid=request.id) }}"> + {{ request.title }} - - {{ request[0].user.user | avatar(16) | safe }} - {{ request[0].user.user }} + + {{ request.user.user | avatar(16) | safe }} + {{ request.user.user }} - {{ request[0].date_created.strftime('%Y-%m-%d %H:%M') }} + {{ request.date_created.strftime('%Y-%m-%d %H:%M') }}