Created
November 24, 2020 12:31
-
-
Save cmltaWt0/2f335c11528e17e160824694868ee473 to your computer and use it in GitHub Desktop.
Gamification Dropdown Menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
show_gamification = settings.FEATURES.get('RG_GAMIFICATION', {}).get('ENABLED') | |
% if show_gamification and gamma_site_settings and check_gamma_enabled_with_cohorts_settings(self.real_user): | |
<div class="mobile-nav-item dropdown-item dropdown-nav-item"><a href="${reverse('gamma_dashboard:gamma-dashboard')}" role="menuitem">${_("Performance")}</a></div> | |
<div class="mobile-nav-item dropdown-item dropdown-nav-item"><a href="${reverse('gamma_dashboard:gamma-leaderboard')}" role="menuitem">${_("Leaderboard")}</a></div> | |
% endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment