VectorGOLEM/includes/templates
jdlrobson 63ee9450b7 Refactor: Standardize menu data (DRY!)
VectorTemplate has various functions that repeat themselves, only
differing in their choice of names.

This refactor begins by focusing on the personal menu and introducing
a generic getMenuData function. Hardcoded `p-personal` is replaced with
an `id` template key and `msg-label` is renamed `label`.

Future patches will simplify VectorTemplate by using this new
function.

You'll note the resulting PersonalMenu.mustache file is identical
to VectorTabs. These will be merged in I098e6921e8f7ef65dacacf09b9c25f70c945e58e

Bug: T249372
Change-Id: I5ae44a1008b065381eeff93f9fa625be5c5a9de9
2020-04-13 16:11:40 -07:00
..
Footer.mustache [dev] [Mustache] replace spaces with tabs 2020-04-08 15:40:56 -06:00
PersonalMenu.mustache Refactor: Standardize menu data (DRY!) 2020-04-13 16:11:40 -07:00
Portal.mustache [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
SearchBox.mustache [Hygiene] [Mustache] rename SearchComponent to SearchBox 2019-12-06 17:00:42 -07:00
Sidebar.mustache [dev] [Mustache] replace spaces with tabs 2020-04-08 15:40:56 -06:00
VectorMenu.mustache Extract VectorMenu.mustache component from VectorTemplate 2020-01-14 10:38:46 -08:00
VectorTabs.mustache [Hygiene] [Mustache] improve template parameters and docs 2019-12-06 17:00:42 -07:00
index.mustache Refactor: Standardize menu data (DRY!) 2020-04-13 16:11:40 -07:00
legacy.mustache Refactor: Standardize menu data (DRY!) 2020-04-13 16:11:40 -07:00