From 3924780eacb8c411090f0ff726e77d27f07b49b5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 21 Feb 2013 01:26:29 +0100 Subject: [PATCH] Tweaks --- src/root/edit-project.tt | 2 +- src/root/topbar.tt | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/root/edit-project.tt b/src/root/edit-project.tt index d87cd457..500356bc 100644 --- a/src/root/edit-project.tt +++ b/src/root/edit-project.tt @@ -1,4 +1,4 @@ -[% WRAPPER layout.tt title=(create ? "New Project" : "Editing project $project.name") %] +[% WRAPPER layout.tt title=(create ? "New project" : "Editing project $project.name") %] [% PROCESS common.tt %]
diff --git a/src/root/topbar.tt b/src/root/topbar.tt index 9dedfbe5..7f7c927c 100644 --- a/src/root/topbar.tt +++ b/src/root/topbar.tt @@ -51,13 +51,13 @@ [% INCLUDE menuItem uri = c.uri_for('/project' project.name 'channel' 'latest') title = "Channel" %] [% IF c.user_exists %]
  • - [% INCLUDE menuItem uri = c.uri_for('/project' project.name 'edit') title="Edit configuration" %] - [% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create_jobset'), [project.name]) title = "Create new jobset" %] + [% INCLUDE menuItem uri = c.uri_for('/project' project.name 'edit') title="Edit" %] [% IF project.hidden %] [% INCLUDE menuItem uri = c.uri_for('/project' project.name 'unhide') title = "Unhide" %] [% ELSE %] [% INCLUDE menuItem uri = c.uri_for('/project' project.name 'hide') title = "Hide" %] [% END %] + [% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create_jobset'), [project.name]) title = "Create jobset" %] [% END %] [% END %] [% END %] @@ -83,7 +83,7 @@ [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'channel' 'latest') title = "Channel" %] [% IF c.user_exists %]
  • - [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit configuration" %] + [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit" %]