Mercurial > public > sg101
annotate gpp/templates/news/send_story_email.txt @ 388:c3231af55778
For #191; r410 is wrong: it is returning the wrong posts. Rework. MySQL is not using an index on our query, and it is taking 10+ seconds. Replace this slow query with a loop that loops over the public forums, then sorts and returns the posts.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 19 Mar 2011 05:03:51 +0000 |
parents | dbd703f7d63a |
children |
rev | line source |
---|---|
gremmie@1 | 1 Dear {{ to_name }}, |
gremmie@1 | 2 |
gremmie@1 | 3 Your friend, {{ sender_name }}, wanted to send you a link to an |
gremmie@1 | 4 interesting story found on {{ site_name }}. |
gremmie@1 | 5 |
gremmie@1 | 6 {{ story_title|safe }} |
gremmie@1 | 7 http://{{ site_url }}{{ story_link }} |
gremmie@1 | 8 |
gremmie@1 | 9 Thanks! |
gremmie@1 | 10 http://{{ site_url}} |