Skip to content

Commit

Permalink
fix: show only first line of commit message in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyker committed Sep 2, 2023
1 parent 04efdba commit 4a3fda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/dashboard/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
@else
<ul>
@foreach ($changelog as $change)
<li><code>{!! Html::link($change['html_url'], substr($change['sha'], 0, 7)) !!}</code> <span style="margin-left:5px;margin-right:5px;"><i class="fa fa-angle-double-left fa-1"></i></span> {{ $change['commit']['message'] }} </li>
<li><code>{!! Html::link($change['html_url'], substr($change['sha'], 0, 7)) !!}</code> <span style="margin-left:5px;margin-right:5px;"><i class="fa fa-angle-double-left fa-1"></i></span> {{ explode("\n", $change['commit']['message'], 2)[0] }} </li>
@endforeach
</ul>
@endif
Expand Down

0 comments on commit 4a3fda4

Please sign in to comment.