diff --git a/README.md b/README.md index 2c22e59..0628a2d 100644 --- a/README.md +++ b/README.md @@ -74,3 +74,4 @@ Trotzdem ist das Projekt noch nicht `100%` fertig. Es fehlt noch, dass das UI au - Zip in Mail - Redis für Sessions +- Mehr Testdaten diff --git a/app/app/services/ProjectGeneratorService.php b/app/app/services/ProjectGeneratorService.php index 80b9d7a..caa0893 100644 --- a/app/app/services/ProjectGeneratorService.php +++ b/app/app/services/ProjectGeneratorService.php @@ -591,7 +591,7 @@ private function createMkdocsYml(string $docsDirectory, Project $project, User $ // Journal $journal = ''; for ($i = 1; $i <= $amountOfWeeks; $i++) { - $journal .= ' - "' . $i . '. Week": "journal/Week ' . $i . '.md"' . PHP_EOL; + $journal .= ' - "' . $i . '. Week": "journal/' . str_pad($i, 3, '0', STR_PAD_LEFT) . '_Week.md' . '"' . PHP_EOL; } $this->replaceTemplateLiterals($projectMkdocsPath, [