-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
only show "Add to your Nextcloud" on share link if federation is acti… #13261
Conversation
@juliushaertl like this? ^ |
@juliushaertl @ChristophWurst @skjnldsv can we have another review here? |
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.
Much cleaner :)
may I add myself as author to the file header now? or what do you consider a "substantial change"? |
You can always add yourself to the header. I'd even say you always should. But most of the time people forget :/ |
good to know! I've done it now... |
I think it looks cleaner if you do it like above. Yes the download buttons looks similar but they are different. If you dont agree just ignore 🤣 |
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.
Well done 👍
outdated / requested changes implemented
@danielkesselberg thank you! I get your point; the variables are only assigned and use once, so not really necessary -- however I think it's easier to read the code with the variables... But if you want the code to be more compact I can change it :) |
Up to you ;-) If someone approves a pull request and suggests changes they are not mandatory (i think they are not mandatory but could be wrong 🤣) |
what's wrong with drone here? |
@@ -7,6 +7,7 @@ | |||
* @author Björn Schießle <bjoern@schiessle.org> | |||
* @author Georg Ehrke <oc.list@georgehrke.com> | |||
* @author Joas Schilling <coding@schilljs.com> | |||
* @author Jonas Sulzer <jonas@violoncello.ch> |
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.
🎉
@violoncelloCH can you rebase? Drone will recreate itself :) |
…vated Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
8093e18
to
3a5d634
Compare
rebase done... |
looks like there is always one randomly failing drone test... :/ |
They are unrelated - it was a codecov failure. |
…vated
This only hides "Add to your Nextcloud" if the checkmark for federated sharing in settings is unchecked. Deactivating the federation app does not hide these settings and does not hide the "Add to your Nextcloud"-option as well.
fixes #12395