编辑按钮位置

This commit is contained in:
Jerry Yan 2022-08-17 13:59:41 +08:00
parent 68c547e14d
commit b7d425d5cf
Signed by: q792602257
GPG Key ID: D070F653AF6C0004

View File

@ -29,10 +29,10 @@
@if(sizeof($program->video_pivots) > 0) @if(sizeof($program->video_pivots) > 0)
<div class="block lg:hidden">{{$program->created_at}}</div> <div class="block lg:hidden">{{$program->created_at}}</div>
@endif @endif
@auth("web")
<a href="{{route("program.construct.edit", ["program"=>$program->id])}}">编辑</a>
@endauth
<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>