Merge pull request #1728 from nextcloud/bugfix/url
This commit is contained in:
@@ -115,7 +115,7 @@ class Notifier implements INotifier {
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$notification->setLink($this->url->linkToRouteAbsolute('deck.page.index') . '#!/board/' . $boardId . '//card/' . $cardId . '');
|
$notification->setLink($this->url->linkToRouteAbsolute('deck.page.index') . '#!/board/' . $boardId . '/card/' . $cardId . '');
|
||||||
break;
|
break;
|
||||||
case 'card-overdue':
|
case 'card-overdue':
|
||||||
$cardId = $notification->getObjectId();
|
$cardId = $notification->getObjectId();
|
||||||
@@ -123,7 +123,7 @@ class Notifier implements INotifier {
|
|||||||
$notification->setParsedSubject(
|
$notification->setParsedSubject(
|
||||||
(string) $l->t('The card "%s" on "%s" has reached its due date.', $params)
|
(string) $l->t('The card "%s" on "%s" has reached its due date.', $params)
|
||||||
);
|
);
|
||||||
$notification->setLink($this->url->linkToRouteAbsolute('deck.page.index') . '#!/board/' . $boardId . '//card/' . $cardId . '');
|
$notification->setLink($this->url->linkToRouteAbsolute('deck.page.index') . '#!/board/' . $boardId . '/card/' . $cardId . '');
|
||||||
break;
|
break;
|
||||||
case 'card-comment-mentioned':
|
case 'card-comment-mentioned':
|
||||||
$cardId = $notification->getObjectId();
|
$cardId = $notification->getObjectId();
|
||||||
@@ -150,7 +150,7 @@ class Notifier implements INotifier {
|
|||||||
if ($notification->getMessage() === '{message}') {
|
if ($notification->getMessage() === '{message}') {
|
||||||
$notification->setParsedMessage($notification->getMessageParameters()['message']);
|
$notification->setParsedMessage($notification->getMessageParameters()['message']);
|
||||||
}
|
}
|
||||||
$notification->setLink($this->url->linkToRouteAbsolute('deck.page.index') . '#!/board/' . $boardId . '//card/' . $cardId . '');
|
$notification->setLink($this->url->linkToRouteAbsolute('deck.page.index') . '#!/board/' . $boardId . '/card/' . $cardId . '');
|
||||||
break;
|
break;
|
||||||
case 'board-shared':
|
case 'board-shared':
|
||||||
$boardId = $notification->getObjectId();
|
$boardId = $notification->getObjectId();
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export default new Router({
|
|||||||
component: Boards,
|
component: Boards,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/boards',
|
path: '/board',
|
||||||
name: 'boards',
|
name: 'boards',
|
||||||
component: Boards,
|
component: Boards,
|
||||||
props: {
|
props: {
|
||||||
@@ -50,7 +50,7 @@ export default new Router({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/boards/archived',
|
path: '/board/archived',
|
||||||
name: 'boards.archived',
|
name: 'boards.archived',
|
||||||
component: Boards,
|
component: Boards,
|
||||||
props: {
|
props: {
|
||||||
@@ -58,7 +58,7 @@ export default new Router({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/boards/shared',
|
path: '/board/shared',
|
||||||
name: 'boards.shared',
|
name: 'boards.shared',
|
||||||
component: Boards,
|
component: Boards,
|
||||||
props: {
|
props: {
|
||||||
@@ -66,7 +66,7 @@ export default new Router({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/boards/:id',
|
path: '/board/:id',
|
||||||
name: 'board',
|
name: 'board',
|
||||||
components: {
|
components: {
|
||||||
default: Board,
|
default: Board,
|
||||||
@@ -101,7 +101,7 @@ export default new Router({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'cards/:cardId',
|
path: 'card/:cardId',
|
||||||
name: 'card',
|
name: 'card',
|
||||||
components: {
|
components: {
|
||||||
sidebar: CardSidebar,
|
sidebar: CardSidebar,
|
||||||
|
|||||||
Reference in New Issue
Block a user