chore: Fix formatting issue in deployment index.blade.php file
This commit is contained in:
parent
622095ebc4
commit
1f7725ada3
@ -72,7 +72,8 @@
|
|||||||
x-on:click.stop="goto('{{ $application->gitCommitLink(data_get($deployment, 'commit')) }}')">
|
x-on:click.stop="goto('{{ $application->gitCommitLink(data_get($deployment, 'commit')) }}')">
|
||||||
<div class="text-xs underline">
|
<div class="text-xs underline">
|
||||||
@if ($deployment->commitMessage())
|
@if ($deployment->commitMessage())
|
||||||
({{data_get_str($deployment, 'commit')->limit(7)}} - {{ $deployment->commitMessage() }})
|
({{ data_get_str($deployment, 'commit')->limit(7) }} -
|
||||||
|
{{ $deployment->commitMessage() }})
|
||||||
@else
|
@else
|
||||||
{{ data_get_str($deployment, 'commit')->limit(7) }}
|
{{ data_get_str($deployment, 'commit')->limit(7) }}
|
||||||
@endif
|
@endif
|
||||||
@ -104,14 +105,16 @@
|
|||||||
@endforelse
|
@endforelse
|
||||||
|
|
||||||
@if ($deployments_count > 0)
|
@if ($deployments_count > 0)
|
||||||
|
@assets
|
||||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/utc.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/utc.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>
|
||||||
|
@endassets
|
||||||
|
@script
|
||||||
<script>
|
<script>
|
||||||
function goto(url) {
|
function goto(url) {
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
};
|
};
|
||||||
document.addEventListener('alpine:init', () => {
|
|
||||||
let timers = {};
|
let timers = {};
|
||||||
|
|
||||||
dayjs.extend(window.dayjs_plugin_utc);
|
dayjs.extend(window.dayjs_plugin_utc);
|
||||||
@ -141,8 +144,8 @@
|
|||||||
return dayjs.utc(created_at).fromNow();
|
return dayjs.utc(created_at).fromNow();
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
@endscript
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user