@extends('skinlib.master') @section('title', $texture->name) @section('content')

@lang('skinlib.show.title')

@include('common.texture-preview')

@lang('skinlib.show.detail')

@if ($uploader = app('users')->get($texture->uploader)) @else @endif
@lang('skinlib.show.name') {{ $texture->name }} @if (!is_null($user) && ($texture->uploader == $user->uid || $user->isAdmin())) @lang('skinlib.show.edit-name') @endif
@lang('skinlib.show.model') @if ($texture->type == 'cape') @lang('general.cape') @else {{ $texture->type }} @endif
Hash @if (option('allow_downloading_texture')) @endif @if (option('allow_downloading_texture')) {{ substr($texture->hash, 0, 15) }}... @else {{ substr($texture->hash, 0, 15) }}... @endif
@lang('skinlib.show.size') {{ $texture->size }} KB
@lang('skinlib.show.uploader'){{ $uploader->getNickName() }}@lang('general.unexistent-user')
@lang('skinlib.show.upload-at') {{ $texture->upload_at }}
@if (!is_null($user)) @if ($texture->uploader == $user->uid) @include('common.manage-panel', [ 'title' => trans('skinlib.show.delete-texture')." / ".trans('skinlib.privacy.change-privacy'), 'message' => trans('skinlib.show.notice') ]) @elseif ($user->isAdmin()) @include('common.manage-panel', [ 'title' => trans('skinlib.show.manage-panel'), 'message' => trans('skinlib.show.notice-admin') ]) @endif @endif

@lang('skinlib.show.comment')

@if (option('comment_script') != "") {!! Utils::getStringReplaced(option('comment_script'), ['{tid}' => $texture->tid, '{name}' => $texture->name, '{url}' => get_current_url()]) !!} @else

@lang('skinlib.show.comment-not-available')

@endif
@endsection @section('script') @endsection