From 7f858928dffc8fd7cf61afd921f685aad79780ed Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 13 Apr 2012 16:36:45 +0200 Subject: [PATCH] Fix hide/unhide links. --- src/root/topbar.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/root/topbar.tt b/src/root/topbar.tt index 327588db..43c215ce 100644 --- a/src/root/topbar.tt +++ b/src/root/topbar.tt @@ -84,9 +84,9 @@ [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit jobset" %] [% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('force_eval'), project.name, jobset.name) content = "Evaluate" confirmmsg = ("Are you sure you want to force evaluation of jobset " _ project.name _ ":" _ j.name _ "?") %] [% IF j.hidden %] - [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name j.name 'unhide') title = "Unhide" %] + [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'unhide') title = "Unhide" %] [% ELSE %] - [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name j.name 'hide') title = "Hide" %] + [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'hide') title = "Hide" %] [% END %] [% END %]