Zwischenstand
This commit is contained in:
parent
508d3d2759
commit
bb12a00ef5
@ -87,7 +87,9 @@ class BookmarkController extends AbstractController
|
|||||||
|
|
||||||
$user = $this->getCurrentUser();
|
$user = $this->getCurrentUser();
|
||||||
$this->bookmarkRepository->removeByUserTablenameObjectUid($user['uid'], $tablename, $objectUid);
|
$this->bookmarkRepository->removeByUserTablenameObjectUid($user['uid'], $tablename, $objectUid);
|
||||||
$this->forward('personalList');
|
|
||||||
|
$this->redirectToUri($this->uriBuilder->reset()->buildFrontendUri());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,6 +48,7 @@ class BookmarkRepository extends Repository
|
|||||||
$this->remove($obj);
|
$this->remove($obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->persistenceManager->persistAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<f:for each="{bookmarks}" as="bookmark">
|
<f:for each="{bookmarks}" as="bookmark">
|
||||||
<li>
|
<li>
|
||||||
<span><f:link.action action="delete" arguments="{object_uid:bookmark.object_uid, tablename: bookmark.tablename}">[Löschen]</f:link.action></span>
|
|
||||||
<a href="{bookmark.url}">{bookmark.title}</a>
|
<a href="{bookmark.url}">{bookmark.title}</a>
|
||||||
|
<span class="" style="float: right;"><f:link.action action="delete" arguments="{objectUid:bookmark.object_uid,tablename:bookmark.tablename}">[Löschen]</f:link.action></span>
|
||||||
</li>
|
</li>
|
||||||
</f:for>
|
</f:for>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user