Hide unimplemented feature buttons and indicators with feature flags
This commit is contained in:
@@ -24,24 +24,31 @@
|
||||
@icon(fa-table fa-pr){!!
|
||||
$showAuthors ? (e($table->owner->handle) . '<span class="px-1">/</span>') : ''
|
||||
!!}<b>{{ $table->title }}</b>
|
||||
</span>{{--
|
||||
--}}<div class="d-block col-5 small text-right">{{--
|
||||
--}}<span title="Visits" class="d-inline-block pl-2" style="min-width: 50px;">
|
||||
</span>
|
||||
<div class="d-flex justify-content-end col-5 small text-right">
|
||||
<span title="Visits" class="d-inline-block pl-2" style="min-width: 50px;">
|
||||
{{ $table->visits }}@icon(fa-eye fa-pl, ~Visits~~)
|
||||
</span>{{--
|
||||
--}}{{--<span title="Forks" class="d-inline-block pl-2 {{$forks==0?'hidden':''}}" style="min-width: 50px;">
|
||||
</span>
|
||||
|
||||
@if(FEATURE_FORKS)
|
||||
<span title="Forks" class="d-inline-block pl-2 {{$forks==0?'hidden':''}}" style="min-width: 50px;">
|
||||
{{ $forks }}@icon(fa-code-fork fa-pl, ~Forks~~)
|
||||
</span>--}}{{--
|
||||
--}}{{--<span title="Favourites" class="d-inline-block pl-2 {{$faves==0?'hidden':''}}" style="min-width: 50px;">
|
||||
</span>
|
||||
@endif
|
||||
|
||||
@if(FEATURE_FAVES)
|
||||
<span title="Favourites" class="d-inline-block pl-2 {{$faves==0?'hidden':''}}" style="min-width: 50px;">
|
||||
{{ $faves }}@icon(fa-star fa-pl, ~Favourites~~)
|
||||
</span>--}}{{--
|
||||
--}}{{--<span title="Revisions" class="d-inline-block pl-2" style="min-width: 50px;">
|
||||
</span>
|
||||
@endif
|
||||
|
||||
<span title="Revisions" class="d-inline-block pl-2" style="min-width: 50px;">
|
||||
{{ $revs }}@icon(fa-history fa-pl, ~Revisions~~)
|
||||
</span>--}}{{--
|
||||
--}}<span title="Rows" class="d-inline-block pl-2" style="min-width: 50px;">
|
||||
</span>
|
||||
|
||||
<span title="Rows" class="d-inline-block pl-2" style="min-width: 50px;">
|
||||
{{ $rows }}@icon(fa-th-list fa-pl, ~Rows)
|
||||
</span>{{--
|
||||
--}}
|
||||
</span>
|
||||
</div>
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user