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

{{ trans('skinlib.show.title') }} Texture Details

@include('vendor.texture-preview')

{{ trans('skinlib.show.detail') }}

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

{{ trans('skinlib.show.comment') }}

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

{{ trans('skinlib.show.comment-not-available') }}

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