Esempio n. 1
0
@section('content')
<div class="ui doubling stackable grid container">
    <div class="four wide column"></div>
    <div class="eight wide column">
        <div class="ui segment">
            <div class="ui {{ Laralum::settings()->button_color }} ribbon label">{{ trans('laralum.avatar') }}</div>
            <br><br>
            <center>
                <img class="ui small circular image" src="{{ $user->avatar(150) }}">
            </center>
            <br><br>
            <div class="ui {{ Laralum::settings()->button_color }} ribbon label">{{ trans('laralum.information') }}</div>
            <br><br>
            <center>
                <?php 
$countries = Laralum::countries();
?>
                <div class="ui list">
                    <div class="item">
                    <div class="header">{{ trans('laralum.country') }}</div>
                        @if(in_array($user->country_code, Laralum::noFlags()))<i class="help icon"></i> {{ $countries[$user->country_code] }}@else<i class="{{ strtolower($user->country_code) }} flag"></i> {{ $countries[$user->country_code] }}@endif
                    </div>
                    <div class="item">
                        <div class="header">{{ trans('laralum.join_date') }}:</div>
                        {{ Laralum::fancyDate($user->created_at) }}
                    </div>
                    <div class="item">
                        <div class="header">{{ trans('laralum.last_updated') }}:</div>
                        {{ Laralum::fancyDate($user->updated_at) }}
                    </div>
                </div>