Supporters and Mentors reports implemented

This commit is contained in:
Luis Fernando Molina committed 2021-07-16 10:55:01 +02:00
1 parent 6e72bf0ae9
commit 7cd402bc62
3 files changed
+37 -1

No files matched your search

@@ -0,0 +1,26 @@
function newGovernanceReportsMentors() {
let thisObject = {
addHTML: addHTML,
initialize: initialize,
finalize: finalize
}
return thisObject
function initialize() {
}
function finalize() {
}
function addHTML(tabIndex) {
return UI.projects.governance.utilities.decendentTables.addHTML(
'mentors',
'Mentorship Program',
'mentorshipProgram',
tabIndex
)
}
}
@@ -66,6 +66,12 @@ function newGovernanceReportsReportsPage() {
resultCounter = response.resultCounter
break
}
case 'Mentors': {
let response = UI.projects.governance.spaces.reportsSpace.mentors.addHTML(4)
HTML = HTML + response.HTML
resultCounter = response.resultCounter
break
}
}
HTML = HTML + '</div>'
@@ -56,6 +56,9 @@ function newGobernanceReportsSpace() {
thisObject.supports.finalize()
thisObject.supports = undefined
thisObject.mentors.finalize()
thisObject.mentors = undefined
isInitialized = false
}
@@ -78,12 +81,13 @@ function newGobernanceReportsSpace() {
thisObject.userProfiles = newGovernanceReportsUserProfiles()
thisObject.referrals = newGovernanceReportsReferrals()
thisObject.supports = newGovernanceReportsSupports()
thisObject.mentors = newGovernanceReportsMentors()
thisObject.reportsPage.initialize()
thisObject.footer.initialize()
thisObject.userProfiles.initialize()
thisObject.referrals.initialize()
thisObject.supports.initialize()
thisObject.mentors.initialize()
setupSidePanelTab()