stable
Clone or download
Read-only
Part of story #12553: see flags that categorize my project in all project pages Run forgeupgrade. Hack the trove_cat database table and choose one or two top categories and set is_project_flag to 1. In your project, for those categories, select a value. Values are displayed in the navbar in every project pages (both FP and BP pages). If project categories are not set, then no project flags are displayed in the navbar. Popover to display more information about those flags will be added in a dedicated changeset. Change-Id: I27135beacdf762b8e6c5bd4ddf15a613bbde6996
Modified Files
Name | ||||
---|---|---|---|---|
A | src/common/project/Flags/ProjectFlagPresenter.php | +39 | −0 | Go to diff View file |
A | src/common/project/Flags/ProjectFlagsBuilder.php | +51 | −0 | Go to diff View file |
A | src/common/project/Flags/ProjectFlagsDao.php | +46 | −0 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +1 | −0 | Go to diff View file |
A | src/db/mysql/updates/2019/201902061527_add_project_flag_info.php | +42 | −0 | Go to diff View file |
A | src/glyphs/project-shield.svg | +3 | −0 | Go to diff View file |
M | src/www/themes/BurningParrot/BurningParrotTheme.php | +10 | −1 | Go to diff View file |
M | src/www/themes/BurningParrot/CurrentProjectNavbarInfoPresenter.php | +11 | −1 | Go to diff View file |
M | src/www/themes/BurningParrot/css/includes/_navbar.scss | +43 | −0 | Go to diff View file |
M | src/www/themes/BurningParrot/templates/navbar/current-project-nav.mustache | +12 | −0 | Go to diff View file |
M | src/www/themes/FlamingParrot/CurrentProjectNavbarInfoPresenter.php | +12 | −2 | Go to diff View file |
M | src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php | +10 | −1 | Go to diff View file |
M | src/www/themes/FlamingParrot/css/utils/_navbar.scss | +44 | −0 | Go to diff View file |
M | src/www/themes/FlamingParrot/templates/navbar.mustache | +12 | −0 | Go to diff View file |