Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrections in documentation of root view setting
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,7 +93,7 @@ Name being used in headings and in the menu bar. | |
|
||
For more fine-grained control, this can also be a list, where it's possible to set the platform name for certain account roles (as a tuple of view name and list of applicable account roles). In this case, the list is searched from left to right, and the first fitting name is used. | ||
|
||
For example, ``("MyMDCApp", ["MDC"]), "MyApp"]`` would use the name "MyMDCApp" for users connected to accounts with the account role "MDC" while all others would see the name "/MyApp". | ||
For example, ``("MyMDCApp", ["MDC"]), "MyApp"]`` would use the name "/MyMDCApp" for users connected to accounts with the account role "MDC" while all others would see the name "/MyApp". | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Flix6x
Author
Contributor
|
||
|
||
.. note:: This fine-grained control requires FlexMeasures version 0.6.0 | ||
|
||
|
@@ -107,7 +107,7 @@ Root view (reachable at "/"). For example ``"/dashboard"``. | |
|
||
For more fine-grained control, this can also be a list, where it's possible to set the root view for certain account roles (as a tuple of view name and list of applicable account roles). In this case, the list is searched from left to right, and the first fitting view is shown. | ||
|
||
For example, ``[("metering-dashboard", ["MDC", "Prosumer"]), "default-dashboard"]`` would show "/mdc-dashboard" for users connected to accounts with account roles "MDC" or "Prosumer", while all others would be routed to "/default-dashboard". | ||
For example, ``[("metering-dashboard", ["MDC", "Prosumer"]), "default-dashboard"]`` would show "/metering-dashboard" for users connected to accounts with account roles "MDC" or "Prosumer", while all others would be routed to "/default-dashboard". | ||
|
||
If this setting is empty or not applicable for the current user, the "/" view will be shown (FlexMeasures' default dashboard or a plugin view which was registered at "/"). | ||
|
||
|
This is wrong I believe. That setting is just a name, not to be used in URLs, and it won't get a slash.