Merge branch 'master' of git://github.com/Cyber-Duck/BookStack into Cyber-Duck-master

This commit is contained in:
Dan Brown 2017-07-27 16:20:38 +01:00
commit c1fc06ae34
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
4 changed files with 15 additions and 6 deletions

View File

@ -4,6 +4,15 @@ language: php
php:
- 7.0
addons:
apt:
packages:
- ldap-utils
- slapd
before_install:
- echo "extension=ldap.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
cache:
directories:
- $HOME/.composer/cache
@ -25,4 +34,4 @@ after_failure:
- cat storage/logs/laravel.log
script:
- phpunit
- phpunit --stop-on-error --stop-on-failure

View File

@ -56,7 +56,7 @@
<h1>{{$book->name}}</h1>
<div class="book-content" v-if="!searching">
<p class="text-muted" v-pre>{{$book->description}}</p>
<p class="text-muted" v-pre>{!! nl2br($book->description) !!}</p>
<div class="page-list" v-pre>
<hr>
@ -118,7 +118,7 @@
<button v-if="searching" v-cloak class="text-neg" v-on:click="clearSearch()" type="button"><i class="zmdi zmdi-close"></i></button>
</form>
</div>
<div class="activity">
<h3>{{ trans('entities.recent_activity') }}</h3>
@include('partials/activity-list', ['activity' => Activity::entityActivity($book, 20, 0)])
@ -127,4 +127,4 @@
</div>
</div>
@stop
@stop

View File

@ -52,7 +52,7 @@
<div class="col-md-7">
<h1>{{ $chapter->name }}</h1>
<div class="chapter-content" v-if="!searching">
<p class="text-muted">{{ $chapter->description }}</p>
<p class="text-muted">{!! nl2br($chapter->description) !!}</p>
@if(count($pages) > 0)
<div class="page-list">

View File

@ -133,4 +133,4 @@ class LdapTest extends BrowserKitTest
->dontSee('External Authentication');
}
}
}