diff --git a/lib/Controller/CardController.php b/lib/Controller/CardController.php index dcb3e6046..b61f1da9a 100644 --- a/lib/Controller/CardController.php +++ b/lib/Controller/CardController.php @@ -78,8 +78,8 @@ class CardController extends Controller { * @param int $order * @return \OCP\AppFramework\Db\Entity */ - public function create($title, $stackId, $type = 'plain', $order = 999) { - return $this->cardService->create($title, $stackId, $type, $order, $this->userId); + public function create($title, $stackId, $type = 'plain', $order = 999, $description = '', $duedate = null) { + return $this->cardService->create($title, $stackId, $type, $order, $this->userId, $description, $duedate); } /** diff --git a/src/components/Controls.vue b/src/components/Controls.vue index 9286eaae2..ccf1ad588 100644 --- a/src/components/Controls.vue +++ b/src/components/Controls.vue @@ -34,7 +34,7 @@

{{ overviewName }}

- {{ t('deck', 'Add card') }} + {{ t('deck', 'Add card on Today') }} @@ -199,9 +199,9 @@ - +