@if ($isReadOnly)
@if ($fileStorage->is_directory) This directory is mounted as read-only and cannot be modified from the UI. @else This file is mounted as read-only and cannot be modified from the UI. @endif
@endif
@if (!$isReadOnly) @can('update', $resource)
@if ($fileStorage->is_directory) @else @if (!$fileStorage->is_binary) @endif Load from server @endif
@endcan @if (!$fileStorage->is_directory) @can('update', $resource) @if (data_get($resource, 'settings.is_preserve_repository_enabled'))
@endif @if (!$fileStorage->is_based_on_git && !$fileStorage->is_binary) Save @endif @else @if (data_get($resource, 'settings.is_preserve_repository_enabled'))
@endif @endcan @endif @else {{-- Read-only view --}} @if (!$fileStorage->is_directory) @if (data_get($resource, 'settings.is_preserve_repository_enabled'))
@endif @endif @endif