-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Ext storage error warning fix #8511
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
Conversation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| <div class="icon-external"></div> | ||
| <h2><?php p($l->t('No external storage configured')); ?></h2> | ||
| <p><a href="<?php p(link_to('', 'index.php/settings/personal#files_external' )); ?>"><?php p($l->t('You can add external storages in the personal settings')); ?></a></p> | ||
| <p><a href="<?php p(link_to('', 'index.php/settings/admin/externalstorages' )); ?>"><?php p($l->t('You can add external storages in the personal settings')); ?></a></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The message here doesn't make much sense. It is shown, for personal external storage settings and if the administrator disabled the possibility to configure external storages in the personal settings there is nothing users can do about that. Also the link to admin/externalstorages only makes sense for admins.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it should be something like: "You cannot configure external storages, since it has been disabled by the administrator"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@juliushaertl It's not only about disabled by the admin, if you're the admin but you did not set up one at the moment, the page is still empty :)
"No external storage configured or you don't have the permission to configure them"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me, better than referring to personal settings when you are on personal settings 😉
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Codecov Report
@@ Coverage Diff @@
## master #8511 +/- ##
============================================
- Coverage 53.49% 51.81% -1.69%
- Complexity 24076 25375 +1299
============================================
Files 1443 1601 +158
Lines 80512 95041 +14529
Branches 0 1377 +1377
============================================
+ Hits 43067 49241 +6174
- Misses 37445 45800 +8355
|
Edited. Please update review :)
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
|
backport in #8561 |
Fix #8363