Skip to content

Commit a891390

Browse files
committed
feat: refactor payload validation in GenerateCommentAction and WebhookService
1 parent de5b29f commit a891390

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

resources/views/md/shared/author.blade.php

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,22 @@
55
: \Carbon\Carbon::parse($date)->format('Y-m-d H:i:s');
66
@endphp
77

8-
<div style="display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: #6a737d;">
9-
@if($avatar_url ?? false)
10-
<img
11-
src="{{ $avatar_url }}"
12-
alt="{{ $name }}"
13-
width="20"
14-
height="20"
15-
style="border-radius: 50%;"
16-
>
17-
@endif
18-
<span>
19-
Changed by <a href="{{ $html_url }}" style="color: #0366d6; text-decoration: none;">{{ $name }}</a>
8+
<blockquote>
9+
<div style="display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: #6a737d;">
10+
@if($avatar_url ?? false)
11+
<img
12+
src="{{ $avatar_url }}"
13+
alt="{{ $name }}"
14+
width="20"
15+
height="20"
16+
style="border-radius: 50%;"
17+
>
18+
@endif
19+
<span>
20+
Changed by <a href="{{ $html_url }}" style="color: #0366d6; text-decoration: none;">{{ $name }}</a>
2021
@if($formattedDate)
21-
<span style="color: #6a737d;">on {{ $formattedDate }}</span>
22+
<span style="color: #6a737d;">on {{ $formattedDate }}</span>
2223
@endif
23-
</span>
24-
</div>
24+
</span>
25+
</div>
26+
</blockquote>

0 commit comments

Comments
 (0)