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" %]