From 96b8453ae892726b8ae7a4060df87eee61d50b2c Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 8 Jan 2015 13:21:51 -0800 Subject: [PATCH] Require supporter info --- views/site_files/mount_info.erb | 57 +++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/views/site_files/mount_info.erb b/views/site_files/mount_info.erb index dd3c46df..ed1a10b8 100644 --- a/views/site_files/mount_info.erb +++ b/views/site_files/mount_info.erb @@ -13,35 +13,44 @@ Neocities now supports WebDAV, which allows you to mount your Neocities share on your computer. Now you can access and change your files on your own computer's file manager!

-

Instructions for Windows 7

+ <% if !current_site.supporter? %> +

+ This feature requires a supporter account. Click here to become a supporter. +

+ <% else %> -

- Use these instructions, except use this URL to connect: https://neocities.org/webdav +

Instructions for Windows 7

+ +

+ Use these instructions, except use this URL to connect: https://neocities.org/webdav +
+ Enter your login info when requested. +

+ +

Instructions for OSX

+ +

+ Use these instructions, and use this URL to connect: https://neocities.org/webdav
- Enter your login info when requested. -

+ Enter login info when requested. +

-

Instructions for OSX

+

Instructions for Linux (Ubuntu)

-

- Use these instructions, and use this URL to connect: https://neocities.org/webdav -
- Enter login info when requested. -

+

+

    +
  1. Open Nautilus.
  2. +
  3. Press ALT-L to show the location bar.
  4. +
  5. Type davs://neocities.org/webdav into location bar.
  6. +
  7. Enter your login into the popup.
  8. +
+

-

Instructions for Linux (Ubuntu)

+

Instructions for Linux (command line)

-

-

    -
  1. Open Nautilus.
  2. -
  3. Press ALT-L to show the location bar.
  4. -
  5. Type davs://neocities.org/webdav into location bar.
  6. -
  7. Enter your login into the popup.
  8. -
-

- -

Instructions for Linux (command line)

- -

For command line, use the davfs2 package. +

+ For command line, use the davfs2 package. +

+ <% end %> \ No newline at end of file