]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/export.blade.php
Add zh_TW Locales.
[bookstack] / resources / views / pages / export.blade.php
index 96f06290e30272b8407924eb0259aff5c3c8c81a..6c6137e17106e7db1cfd177d28de8fecc00e9e3a 100644 (file)
@@ -5,7 +5,9 @@
     <title>{{ $page->name }}</title>
 
     <style>
-        {!! $css !!}
+        @if (!app()->environment('testing'))
+        {!! file_get_contents(public_path('/dist/export-styles.css')) !!}
+        @endif
     </style>
     @yield('head')
 </head>
         <div class="col-md-8 col-md-offset-2">
             <div class="page-content">
 
-                @include('pages/page-display')
+                @include('pages.page-display')
 
                 <hr>
 
-                <p class="text-muted small">
-                    Created {{$page->created_at->toDayDateTimeString()}} @if($page->createdBy) by {{$page->createdBy->name}} @endif
-                    <br>
-                    Last Updated {{$page->updated_at->toDayDateTimeString()}} @if($page->updatedBy) by {{$page->updatedBy->name}} @endif
-                </p>
+                @include('partials.entity-meta', ['entity' => $page])
 
             </div>
         </div>