diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-12-10 12:25:38 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-12-10 12:25:38 +0100 |
commit | e324f9e52b2f78cdcc0dcb0046c8effe820ccf67 (patch) | |
tree | 616562600b4b964c21308ef4f85ba2561b37b87d /hyperkitty/templates/search.html | |
parent | a9636afdec4029745e9cdb88fbebdf674426828e (diff) | |
download | hyperkitty-e324f9e52b2f78cdcc0dcb0046c8effe820ccf67.tar.gz hyperkitty-e324f9e52b2f78cdcc0dcb0046c8effe820ccf67.tar.xz hyperkitty-e324f9e52b2f78cdcc0dcb0046c8effe820ccf67.zip |
Factor the like/dislike form in a separate file
Diffstat (limited to 'hyperkitty/templates/search.html')
-rw-r--r-- | hyperkitty/templates/search.html | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/hyperkitty/templates/search.html b/hyperkitty/templates/search.html index 3db0b1c..844bc60 100644 --- a/hyperkitty/templates/search.html +++ b/hyperkitty/templates/search.html @@ -59,15 +59,7 @@ </li> </ul> <ul class="inline-block"> - <li class="likestatus {{email.likestatus}}"> - +{{email.liked}} - </li> - <li class="voteup"> - <a class="youlike" href="#like">Like</a> - </li> - <li class="votedown"> - <a class="youdislike" href="#dislike">Dislike</a> - </li> + {% include "messages/like_form.html" with hashid=email.message_id_hash object=email %} </ul> </div> </div> |