snipe-it/resources/views/groups/view.blade.php
Daniel Meltzer 13cf11368f Reformat all view files. (#3105)
* Reformat all view files.  Check for matching tags and rearrange to make everything line up.

* Fix regression on asset create where the log was no longer saved.
2016-12-27 12:03:47 -08:00

58 lines
1.8 KiB
PHP

@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ trans('admin/groups/table.view') }} -
{{ $group->name }}
@parent
@stop
{{-- Page content --}}
@section('content')
<div class="row header">
<div class="col-md-12">
<a href="{{ route('update/group', $group->id) }}" class="btn-flat white pull-right">
{{ trans('admin/groups/table.update') }}
</a>
<a href="{{ url('admin/groups') }}" class="btn-flat gray pull-right" style="margin-right:5px;">
<i class="fa fa-arrow-left icon-white"></i> {{ trans('general.back') }}
</a>
<h3 class="name"> {{ trans('admin/groups/titles.group_management') }} - {{ $group->name }}</h3>
</div>
</div>
<div class="user-profile">
<div class="row profile">
<div class="col-md-12 bio">
@if (count($users) > 0)
<table id="example">
<thead>
<tr role="row">
<th class="col-md-3">{{ trans('admin/groups/table.name') }}</th>
</tr>
</thead>
<tbody>
@foreach ($users as $user)
<tr>
<td>
<a href="{{ route('users.show', $user->id) }}">{{ $user->first_name }} {{ $user->last_name }}</a>
</td>
</tr>
@endforeach
</tbody>
</table>
@else
<div class="col-md-12">
<div class="alert alert-info alert-block">
<i class="fa fa-info-circle"></i>
{{ trans('general.no_results') }}
</div>
</div>
@endif
</div>
</div> <!--.col-md-12-->
</div> <!--.user-profile-->
@stop