Mercurial > public > sg101
diff comments/views.py @ 1021:68c3343f3318
Perform image_check on gcalendar description.
Also add image hotlink/upload forms to gcalendar add event page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 08 Dec 2015 21:39:19 -0600 |
parents | a828e80223d2 |
children | e932f2ecd4a7 |
line wrap: on
line diff
--- a/comments/views.py Tue Dec 08 17:32:31 2015 -0600 +++ b/comments/views.py Tue Dec 08 21:39:19 2015 -0600 @@ -27,9 +27,13 @@ <p><strong>Error</strong>: {}</p> <p>Sorry, preview is unavailable.</p> <p>There is an image in your post which failed our image check. We can only -accept images from a small number of sources for security reasons. You may use -the forms below this box to safely hot-link to images hosted elsewhere on the -Internet or upload from your computer or device.</p> +accept images from a small number of sources for security reasons.</p> +<p>If there are forms below this post box, you may use them to safely hot-link +to images hosted elsewhere on the Internet or upload from your computer or +device.</p> +<p>If there are no image forms on this page, you can upload a photo from your +computer or device from your user profile. Copy the image code you receive +into the post box here.</p> """