diff --git a/config/app.php b/config/app.php index a390eaf83..23aad7d48 100644 --- a/config/app.php +++ b/config/app.php @@ -18,7 +18,7 @@ return [ | */ - 'debug' => env('APP_DEBUG', false), + 'debug' => env('APP_DEBUG', true), /* |-------------------------------------------------------------------------- diff --git a/config/database.php b/config/database.php index 3883b5868..50f702e33 100644 --- a/config/database.php +++ b/config/database.php @@ -79,9 +79,9 @@ return [ 'mysql' => [ 'driver' => 'mysql', 'host' => $mysql_host, - 'database' => env('DB_DATABASE', 'forge'), - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), + 'database' => env('DB_DATABASE', 'bookstack'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', 'Change123'), 'port' => $mysql_port, 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', diff --git a/resources/assets/js/vues/vues.js b/resources/assets/js/vues/vues.js index a3f6ec8e5..e5ab50c4d 100644 --- a/resources/assets/js/vues/vues.js +++ b/resources/assets/js/vues/vues.js @@ -10,6 +10,7 @@ let vueMapping = { 'code-editor': require('./code-editor'), 'image-manager': require('./image-manager'), 'tag-manager': require('./tag-manager'), + 'page-comments': require('./page-comments') }; window.vues = {}; diff --git a/resources/views/comments/comments.blade.php b/resources/views/comments/comments.blade.php index ffa75cfed..24a8b3e23 100644 --- a/resources/views/comments/comments.blade.php +++ b/resources/views/comments/comments.blade.php @@ -1,18 +1,11 @@ - - -
@{{vm.totalCommentsStr}}
--
@{{totalCommentsStr}}
++
+- {{ trans('entities.comment_reply') }}
+ - {{ trans('entities.comment_edit') }}
+ - {{ trans('entities.comment_delete') }}
+ - {{ trans('entities.comment_create') }} @{{::comment.created.diff}}
+ - @{{ ::vm.trans('entities.comment_updated_text', { updateDiff: comment.updated.diff }) }}
+ @{{::comment.updated_by.name}}
+
+-- {{ trans('entities.comment_reply') }}
- - {{ trans('entities.comment_edit') }}
- - {{ trans('entities.comment_delete') }}
- - {{ trans('entities.comment_create') }} @{{::comment.created.diff}}
- - @{{ ::vm.trans('entities.comment_updated_text', { updateDiff: comment.updated.diff }) }}
- @{{::comment.updated_by.name}}
-
-