bugtasks #7164: change the link in sidebar so that it uses current project shortname dynamically

- this only works for new projects with databases with ID (see previous changesets)

Change-Id: Idaebe57dfe2de3294d74110ec7d7bc20628c8389
Merge commit 'refs/changes/32/2732/11' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD

* ssh://gerrit.tuleap.net:29418/tuleap:
  bugtasks #7164: change the link in sidebar so that it uses current project shortname dynamically

Change-Id: Ic0f8d8b365da83c375ad2e93b850b872eaeaada7
This is Tuleap 7.2.99.42

Change-Id: I968fc1d689bb5a33752c36185856e50b09467971