]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/page-display.blade.php
settings.php: add missing french translation
[bookstack] / resources / views / pages / page-display.blade.php
index 6eb623b3977da64a5417fcb56083774a5abd5b31..cb7cae445bcafbe2b38b134bdc98c00607d23df7 100644 (file)
@@ -1,10 +1,12 @@
-<h1>{{$page->name}}</h1>
-@if(count($page->children) > 0)
-    <h4 class="text-muted">Sub-pages</h4>
-    <div class="page-list">
-        @foreach($page->children as $childPage)
-            <a href="{{ $childPage->getUrl() }}">{{ $childPage->name }}</a>
-        @endforeach
-    </div>
-@endif
-{!! $page->html !!}
\ No newline at end of file
+<div ng-non-bindable>
+
+    <h1 id="bkmrk-page-title">{{$page->name}}</h1>
+
+    <div style="clear:left;"></div>
+
+    @if (isset($diff) && $diff)
+        {!! $diff !!}
+    @else
+        {!! isset($pageContent) ? $pageContent : $page->html !!}
+    @endif
+</div>
\ No newline at end of file