mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-30 14:09:58 +08:00
Add link for editing announcement
This commit is contained in:
parent
f1232724df
commit
7ae8a6325d
@ -4,6 +4,7 @@
|
||||
- Allowed to customize HTTP status code for rejecting accessing private texture.
|
||||
- Added configurable "Explore" menu.
|
||||
- Custom `PLUGINS_DIR` with relative path is allowed.
|
||||
- Added link for editing announcement.
|
||||
|
||||
## Tweaked
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
- 允许自定义拒绝访问私有材质时返回的 HTTP 状态码
|
||||
- 添加可自定义的「浏览」菜单
|
||||
- 允许在 `PLUGINS_DIR` 配置项中使用相对路径
|
||||
- 添加「编辑公告」的链接
|
||||
|
||||
## 调整
|
||||
|
||||
|
@ -24,6 +24,11 @@
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">@lang('user.announcement')</h3>
|
||||
@if (auth()->user()->isAdmin())
|
||||
<a href="{{ url('/admin/options') }}">
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
@endif
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
{!! $announcement !!}
|
||||
|
Loading…
Reference in New Issue
Block a user