snapshot: preserve trial lifecycle and product-grade expiry UX
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from .branding import get_branding_context
|
||||
from .branding import get_branding_context, get_trial_context
|
||||
from .roles import template_role_context
|
||||
|
||||
|
||||
def role_context(request):
|
||||
context = template_role_context(getattr(request, 'user', None))
|
||||
context.update(get_branding_context())
|
||||
context.update(get_trial_context())
|
||||
return context
|
||||
|
||||
Reference in New Issue
Block a user