File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
resources/scripts/components/server/files Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,17 @@ export default () => {
8383 < PageContentBlock >
8484 < FlashMessageRender byKey = { 'files:view' } className = { 'mb-4' } />
8585 < FileManagerBreadcrumbs withinFileEditor = { true } isNewFile = { action !== 'edit' } />
86+ { ( name || hash . replace ( / ^ # / , '' ) ) . endsWith ( '.pteroignore' ) &&
87+ < div className = { 'mb-4 p-4 border-l-4 bg-neutral-900 rounded border-cyan-400' } >
88+ < p className = { 'text-neutral-300 text-sm' } >
89+ You're editing a < code className = { 'font-mono bg-black rounded py-px px-1' } > .pteroignore</ code > file.
90+ Any files or directories listed in here will be excluded from backups. Wildcards are supported by
91+ using an asterisk (< code className = { 'font-mono bg-black rounded py-px px-1' } > *</ code > ). You can
92+ negate a prior rule by prepending an exclamation point
93+ (< code className = { 'font-mono bg-black rounded py-px px-1' } > !</ code > ).
94+ </ p >
95+ </ div >
96+ }
8697 < FileNameModal
8798 visible = { modalVisible }
8899 onDismissed = { ( ) => setModalVisible ( false ) }
You can’t perform that action at this time.
0 commit comments