afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2010-01-30 07:42 am

[dw-free] Add "feed moved" info to feed accounts.

[commit: http://hg.dwscoalition.org/dw-free/rev/8c0cf5fc17ff]

http://bugs.dwscoalition.org/show_bug.cgi?id=2172

Add helpful directions for if the feed URL has moved.

Patch by [staff profile] denise.

Files modified:
  • htdocs/userinfo.bml
  • htdocs/userinfo.bml.text
--------------------------------------------------------------------------------
diff -r bb17c6e40c97 -r 8c0cf5fc17ff htdocs/userinfo.bml
--- a/htdocs/userinfo.bml	Sat Jan 30 07:33:53 2010 +0000
+++ b/htdocs/userinfo.bml	Sat Jan 30 07:41:12 2010 +0000
@@ -442,6 +442,8 @@ body<=
         $bibody .= join( '<br />', map { $linkify->( $_ ) } @contacts );
         $bibody .= q{ </div> };
     };
+
+    $bibody .= BML::ml( '.label.feedchange', { aopts => "href='$LJ::SITEROOT/support'" } ) if $u->is_syndicated;
 
     if ( $bibody ) {
         my $links;
diff -r bb17c6e40c97 -r 8c0cf5fc17ff htdocs/userinfo.bml.text
--- a/htdocs/userinfo.bml.text	Sat Jan 30 07:33:53 2010 +0000
+++ b/htdocs/userinfo.bml.text	Sat Jan 30 07:41:12 2010 +0000
@@ -205,6 +205,8 @@
 .label.dateupdated=Date updated:
 
 .label.email=Email:
+
+.label.feedchange=If this feed has stopped updating because its location has changed, please contact <a [[aopts]]>Support</a> to have the location updated instead of creating a new feed.
 
 .label.frcommunity=Communities
 
--------------------------------------------------------------------------------