condorrocks/condor

View on GitHub
resources/views/manage/boards/_account.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
@foreach ($account->boards as $board)
<div class="col-xs-6 col-md-3">
    <div class="panel panel-default">

        <div class="panel-heading">
            <i class="fa fa-btn fa-columns"></i>{{ $account->name }}&nbsp;/&nbsp;{{ $board->name }}
        </div>
        
        <div class="panel-body">
            {!! Button::normal(trans('manage.board.btn.show'))
                ->withIcon(Icon::eyeOpen())
                ->asLinkTo(route('manage.boards.show', compact('board')) )
                ->block() !!}

            {!! Button::normal(trans('manage.board.btn.edit'))
                    ->withIcon(Icon::edit())
                    ->asLinkTo(route('manage.boards.edit', compact('board')) )
                    ->block() !!}

            {!! Button::normal(trans('manage.board.btn.purge'))
                    ->withIcon(Icon::erase())
                    ->asLinkTo(route('manage.boards.purge', compact('board')) )
                    ->block() !!}
        </div>

        <div class="panel-footer">
            {{ trans('manage.board.feeds_count', ['count' => $board->feeds()->count()] ) }}
        </div>

    </div>
</div>
@endforeach