The redesigned project page shows "New issue" and "New milestone" buttons even if they are disabled for the project
Created by: qcz
The new project page shows the "New issue" and "New milestone" buttons even if these functions are disabled for the project. Clicking on the buttons result in a 404 error.
Steps to reproduce: always, even for new projects
Expected behavior: these buttons are not visible when the functions they belong to are disabled in the project settings.