登录后可以直接修改已发布的节目

This commit is contained in:
Jerry Yan 2022-08-17 13:11:39 +08:00
parent 916507d7f2
commit 68c547e14d
Signed by: q792602257
GPG Key ID: D070F653AF6C0004

View File

@ -30,6 +30,9 @@
<div class="block lg:hidden">{{$program->created_at}}</div> <div class="block lg:hidden">{{$program->created_at}}</div>
@endif @endif
<a class="text-blue-600 lg:text-current underline lg:no-underline" href="/programs/{{ $program->id }}/video"> <a class="text-blue-600 lg:text-current underline lg:no-underline" href="/programs/{{ $program->id }}/video">
@auth("web")
<a href="{{route("program.construct.edit", ["program"=>$program->id])}}">编辑</a>
@endauth
<span title="节目">{{$program->name}}</span> <span title="节目">{{$program->name}}</span>
<span title="难度">{{$program->difficulty}}</span> <span title="难度">{{$program->difficulty}}</span>
<span title="要求">{{$program->desc}}</span> <span title="要求">{{$program->desc}}</span>