Update moderation panel of textures
This commit is contained in:
parent
e0c7292d35
commit
8e43b185fe
|
|
@ -43,15 +43,14 @@ show:
|
|||
uploader: Uploader
|
||||
upload-at: Upload At
|
||||
|
||||
manage-panel: Manage Panel
|
||||
delete-texture: Delete Texture
|
||||
|
||||
notice: The texture which was deleted or setted to private will be removed from the closet of everyone who had favorited it.
|
||||
notice-admin: You are able to delete this texture or make it private. The operations will make it removed from the closet of everyone who had favorited it.
|
||||
manage-panel:
|
||||
title: Manage Panel
|
||||
notice: You can delete this texture or make it private. The operation will also remove it from the closet of everyone who had favorited it.
|
||||
|
||||
comment: Comment
|
||||
comment-not-available: Comment is not available.
|
||||
|
||||
delete-texture: Delete Texture
|
||||
deleted: The requested texture was already deleted.
|
||||
contact-admin: Please contact the admins to remove this entry.
|
||||
private: The requested texture is private and only visible to the uploader and admins.
|
||||
|
|
|
|||
|
|
@ -43,14 +43,14 @@ show:
|
|||
uploader: 上传者
|
||||
upload-at: 上传日期
|
||||
|
||||
manage-panel: 管理面板
|
||||
delete-texture: 删除材质
|
||||
notice: 材质设为隐私或被删除后将会从每一个收藏者的衣柜中移除。
|
||||
notice-admin: 你可以将此材质设为隐私或删除。这将会使此材质从每一个收藏者的衣柜中移除。
|
||||
manage-panel:
|
||||
title: 管理面板
|
||||
notice: 你可以将此材质设为隐私或删除。这将会使此材质从每一个收藏者的衣柜中移除。
|
||||
|
||||
comment: 评论区
|
||||
comment-not-available: 本站未开启评论服务
|
||||
|
||||
delete-texture: 删除材质
|
||||
deleted: 请求的材质文件已经被删除
|
||||
contact-admin: 请联系管理员删除该条目
|
||||
private: 请求的材质已经设为隐私,仅上传者和管理员可查看
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<div class="box box-danger">
|
||||
{{-- Texture Manage Panel --}}
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{ $title }}</h3>
|
||||
<h3 class="box-title">{{ trans('skinlib.show.manage-panel.title') }}</h3>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<p>{{ $message }}</p>
|
||||
<p>{{ trans('skinlib.show.manage-panel.notice') }}</p>
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
<div class="box-footer">
|
||||
|
|
|
|||
|
|
@ -99,19 +99,8 @@
|
|||
</div><!-- /.box-body -->
|
||||
</div><!-- /.box -->
|
||||
|
||||
@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
|
||||
@if ($user && can_moderate_texture($user, $texture))
|
||||
@include('common.manage-panel')
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user