mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
app: Refactor all apps to use the Info component
- Remove the need to pass all the individual information elements to the AppView separately. This eliminates many issues with elements that were mistakenly not sent to AppView. Also reduces a lot of code duplication. - Create App classes for power and sso for consistency. Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
67a216ba18
commit
b576a77c3d
112 files changed
+862
-1041
No files matched your search
@@ -100,8 +100,6 @@ view to show the app page for our app. In ``views.py``, let us add a view.
|
||||
|
||||
class TransmissionAppView(views.AppView):
|
||||
"""Serve configuration page."""
|
||||
name = transmission.name
|
||||
description = transmission.description
|
||||
app_id = 'transmission'
|
||||
|
||||
The base view :class:`~plinth.views.AppView` takes care of a lot of details for
|
||||
|
||||
Reference in new issue
Block a user