-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BITV] 9.1.1.1a/2.1 - The Nextcloud logo (link) does not have an alternative text. A suitable alternative text could be "Nextcloud - Go to dashboard." (9) #36753
Comments
@michaelnissenbaum It is actually not easy to set a detailed name for the logo-link because a link for the logo is configurable in: server/config/config.sample.php Lines 224 to 233 in dde5c46
This means it depends on the config and on user access/rights which link is available for a current user. For now the implementation looks like this which always says "(name of the nextcloud instance) homepage", whatever the current homepage is: Could we move on with this solution? |
The logo is irrelevant here. It should be treated as a decorative image. server/core/templates/layout.user.php Line 61 in 0d67fc2
Where to compute and pass variables to the template: server/lib/private/TemplateLayout.php Lines 122 to 124 in 0d67fc2
|
Hi @skjnldsv Thank you for your suggesting. I've tried to implement it this way. But the thing is: "if the first app is not enabled for a user then Nextcloud will try the second one, and so on." I have no idea how to implement it in dynamic way. I mean: for example: config.php: 'defaultapp' => 'mail,dashboard,files', And how could i check in general if an app is enabled or not? |
Extract the logic from server/lib/private/URLGenerator.php Lines 302 to 338 in 71f6986
And create a method to get the default AppId somewhere it make sense (Maybe User.php ? 🤷 ) |
Details
https://report.bitvtest.de/default-en/d63601ac-cb34-4645-8256-66bec78964a0.html#checkpoint-cd239865a5-v2-n1
The text was updated successfully, but these errors were encountered: