Skip to content
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

224 feat(documents): added button to move folders to other folders #230

Merged
merged 3 commits into from
Jan 26, 2025

Conversation

ikjelle
Copy link
Contributor

@ikjelle ikjelle commented Jan 18, 2025

closes: #224

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
// if parent is null/root it can always be moved, else check if its not being moved into itself.
if ($parent != null && folderInsideSelfOrChildren($folder, $parent))
{
$this->addFlash('warning', 'Je kunt deze map niet naar zichzelf verplaatsen.');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is dit geimplementeerd? Ik zie dat het vaker gebruik wordt in de code, maar ik zag de melding niet tijdens het developen.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik denk het niet. Ik weet niet precies hoe dit bij Symfony werkt, maar bij Django en Flask moet je expliciet in je html templates door de flash messages heen gaan om ze te printen (of op een andere manier consumen). Dat hebben we volgens mij maar op een paar plekken.

Volgens mij zit het wel in het accepteren van lidmaatschapsaanmeldingen, dus je zou daar even kunnen kijken.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik heb de flash messages toegevoegd in 46f108f

@pingiun pingiun requested a review from Gwildor January 26, 2025 14:33
@Gwildor Gwildor merged commit 5614591 into main Jan 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mappen kunnen verplaatsen
3 participants