We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c8e4e commit 1976d06Copy full SHA for 1976d06
readthedocs/projects/views/private.py
@@ -119,6 +119,8 @@ def get_context_data(self, **kwargs):
119
n_projects < 3 and (timezone.now() - projects.first().pub_date).days < 7
120
):
121
template_name = "example-projects.html"
122
+ elif n_projects and not settings.RTD_ALLOW_ORGANIZATIONS:
123
+ template_name = "github-app.html"
124
elif n_projects and not projects.filter(external_builds_enabled=True).exists():
125
template_name = "pull-request-previews.html"
126
elif n_projects and not projects.filter(addons__analytics_enabled=True).exists():
0 commit comments