mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-19 12:36:06 +00:00
Redirect to apps page always from index page
- Plinth will become the home page for FreedomBox. So it has to serve the purpose the directing users to available services. This will happen most often and should also work when users are not logged in. - Soon we will have a resigned 'front page'/'apps' section which is expected to be shown to user who are not logged in too. - Apps menus has been removed. Index page is now the only way to reach Apps section.
This commit is contained in:
parent
7e3a7ad53c
commit
07ee03941f
@ -28,10 +28,7 @@ from plinth import package as package_module
|
||||
|
||||
def index(request):
|
||||
"""Serve the main index page."""
|
||||
if request.user.is_authenticated():
|
||||
return HttpResponseRedirect(reverse('apps:index'))
|
||||
|
||||
return HttpResponseRedirect(reverse('help:about'))
|
||||
return HttpResponseRedirect(reverse('apps:index'))
|
||||
|
||||
|
||||
class PackageInstallView(TemplateView):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user