From 6fd56d4521be1d8e46aa6c651897a5dd25457c07 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 13 Dec 2012 15:17:04 +0100 Subject: [PATCH] Display link to build/job only if id is present already --- assets/scripts/app/templates/repos/show/tabs.hbs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/assets/scripts/app/templates/repos/show/tabs.hbs b/assets/scripts/app/templates/repos/show/tabs.hbs index 03021bc4..f906d3d9 100644 --- a/assets/scripts/app/templates/repos/show/tabs.hbs +++ b/assets/scripts/app/templates/repos/show/tabs.hbs @@ -38,18 +38,22 @@
  • {{#with view.build}} - - {{t repositories.tabs.build}} #{{number}} - + {{#if id}} + + {{t repositories.tabs.build}} #{{number}} + + {{/if}} {{/with}}
  • {{#with view.job}} - - {{t repositories.tabs.job}} #{{number}} - + {{#if id}} + + {{t repositories.tabs.job}} #{{number}} + + {{/if}} {{/with}}