Git Pull — {{ $module->name }}

{{-- Back Button --}}
Back to Modules
{{-- Flash Messages --}} @if(session('error'))
{{ session('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif @if(session('warning'))
{{ session('warning') }}
@endif @if($errors->any())
@endif {{-- Module Info Card --}}
{{ strtoupper(substr($module->name, 0, 1)) }}

{{ $module->name }}

{{ $module->alias }} • v{{ $module->version }}

@if($module->git_last_pulled_at)

Last Pulled

{{ $module->git_last_pulled_at->format('d M Y, H:i') }}

@endif
@if($hasGitConfig) {{-- ═══════════════════════════════════════════ HAS GIT CONFIG — Show config + actions ═══════════════════════════════════════════ --}} {{-- Current Config Display --}}

Git Configuration

URL {{ $module->git_url }} Branch {{ $module->git_branch }} Author {{ $module->git_user_name }} <{{ $module->git_user_email }}>
{{-- Pull Action Card --}}
@csrf

Pull Latest Changes

Fetch and apply latest commits from {{ $module->git_branch }} branch. Migrations will run automatically after pull.

@else {{-- ═══════════════════════════════════════════ NO GIT CONFIG — Prompt to configure ═══════════════════════════════════════════ --}}

No Git Configuration

This module doesn't have a git repository configured yet.
Set up git details to enable pull updates.

@endif
{{-- ═══════════════════════════════════════════════════════════════════════════ GIT CONFIGURATION MODAL ═══════════════════════════════════════════════════════════════════════════ --}} {{-- Styles --}} {{-- Scripts --}}