Commit Graph

3 Commits

Author SHA1 Message Date
James E. Blair 8494ebf397 Web: fix tabs on project page
This corrects the tab titles on the project page which currently
typically just say "master", "master", "master", ... because they
all display the default branch of the project stanza.

Instead, use the branch of the source context for the project stanza,
or, if the project stanza is not from the current project, then
use the name of its project.

This causes them to appear like:

"openstack/project-config", "master", "stable/diablo", ...

Also, update the entire Project page component hierarchy to use
hooks instead of classes.

Update the styling on the H2 element so that we can have the
refresh icon share the same vertical space (so that we don't have
large amounts of wasted vertical space at the top of each page.

Change-Id: I863e0eb4a7f20ee6363e596e61cc49b2cbc22953
2022-08-04 11:00:02 -07:00
Tristan Cacqueray e2415c3743 web: check if project has variant
This change prevents exception when trying to display a project
without configuration.

Change-Id: I746d914166c6106e7c21d0746f5460088615b7e3
2019-03-25 01:26:31 +00:00
Tristan Cacqueray d3d0a08eb7 web: add project page
This change adds a /project/{project_name} web interface.

Change-Id: Ie7e49806d14378aeedbaba02eb5c49d59971b9ae
2018-12-14 08:33:44 +00:00