Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Commit

Permalink
Fix text in search content for guests
Browse files Browse the repository at this point in the history
Resolves #36
  • Loading branch information
mzur committed Aug 5, 2019
1 parent 9360889 commit 8dbc5c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/resources/views/searchTabContent.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
@if ($query)
matching '{{$query}}'.
@else
for you. Why don't you <a href="{{route('label-trees-create')}}" title="Create a new label tree">create</a> one?
for you.
@can('create', \Biigle\LabelTree::class)
Why don't you <a href="{{route('label-trees-create')}}" title="Create a new label tree">create</a> one?
@endcan
@endif
</p>
@endif
Expand Down

0 comments on commit 8dbc5c6

Please sign in to comment.