Page 1 of 1

Show current project in title

Posted: 27 Feb 2013, 17:13
by eanon
When all projects are privates and a user is assigned to one project only, nothing tell him, on screen, the name of this project (unless going on an issue view, of course). So, is there a way to display* the current project name at the top of all the pages ?

* Like requested in this ticket (open since 2011) : http://www.mantisbt.org/bugs/view.php?id=4653.

--
EDIT : Ok, awaiting an official way, I've added the line below between line 558 and 559 of the current "core/html_api.php" file :

Code: Select all

echo 'Project : ' . project_get_field( $t_project_id, 'name' ); // displays project name when no combo-box

Re: Show current project in title

Posted: 01 Feb 2018, 14:35
by emphyrio
Hello,

It seems that it hasn't been officially implemented yet.
Do you know where to put your line in the latest version (2.10)?

Thanks
Patrick

Re: Show current project in title

Posted: 01 Feb 2018, 18:57
by Starbuck
Good topic for a plugin discussion.