From b43842dadedc290a9a1f5f26a6c10508fdba84a3 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 21 Aug 2014 17:05:26 +0200 Subject: [PATCH] Fix requests page --- assets/scripts/app/templates/requests.hbs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/scripts/app/templates/requests.hbs b/assets/scripts/app/templates/requests.hbs index 2f5bc62b..e9e13e5c 100644 --- a/assets/scripts/app/templates/requests.hbs +++ b/assets/scripts/app/templates/requests.hbs @@ -17,23 +17,23 @@ - {{#each request in controller itemController="request"}} + {{#each controller itemController="request"}} - {{request.id}} + {{id}} - {{githubCommitLink request.repo.slug request.commit.sha}} + {{githubCommitLink repo.slug commit.sha}} - {{#if request.build}} - {{#link-to "build" request.build}}#{{request.build.number}}{{/link-to}} + {{#if build}} + {{#link-to "build" build}}#{{build.number}}{{/link-to}} {{else}} - {{/if}} - {{{formatMessage request.commit.message short="true" repoBinding=build.repo}}} - {{request.type}} - {{request.message}} + {{{formatMessage commit.message short="true" repoBinding=build.repo}}} + {{type}} + {{message}} {{/each}}