Opened 14 years ago
Closed 14 years ago
#4095 closed enhancement (fixed)
Add tab-specific body classes for group creation and group admin
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6 |
| Component: | Groups | Version: | |
| Severity: | minor | Keywords: | |
| Cc: |
Description
We currently add the body class group-create to group creation steps and group-admin to group admin tabs. Since we also have information available about the name of the specific steps (as they're registered in BP_Group_Extension, for instance) we should be adding them to the body class as well, for the benefit of themers.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [5941]) Introduces template function bp_get_groups_current_create_step() to avoid direct calls to the bp global.
Replaces calls to bp->groups->current_create_step with bp_get_groups_current_create_step() throughout BP.
Adds current create step to body classes during group creation process. See #4095