diff options
author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-05-17 11:33:39 +0200 |
---|---|---|
committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-05-17 11:33:39 +0200 |
commit | 927e8e6eca2d80119b46b17332de7d4ba5d3afed (patch) | |
tree | 8a91f5f575e89a92cd03fb4f683c17a71fadfea5 | |
parent | db3ddcfbb626ae72e2de002fd59a2cba2e2ba7de (diff) | |
download | hyperkitty-927e8e6eca2d80119b46b17332de7d4ba5d3afed.tar.gz hyperkitty-927e8e6eca2d80119b46b17332de7d4ba5d3afed.tar.xz hyperkitty-927e8e6eca2d80119b46b17332de7d4ba5d3afed.zip |
Adjust the template for the output of the search
-rw-r--r-- | templates/search.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/search.html b/templates/search.html index 680191b..3871a9e 100644 --- a/templates/search.html +++ b/templates/search.html @@ -41,30 +41,30 @@ <!-- New thread --> <div class="thread"> <div class="notsaved"> - <a href="/thread/{{list_address}}/{{email.ThreadID}}"> - <span class="thread_title">{{email.Subject}}</span> + <a href="/thread/{{list_address}}/{{email.thread_id}}"> + <span class="thread_title">{{email.subject}}</span> </a> - <span class="thread_date">{{email.Date}}</span> + <span class="thread_date">{{email.date}}</span> </div> <div class="thread_content"> {% if email.category_tag %} <div class="inline-block type type_{{email.category_tag}}"> - <a href="/tag/{{list_address}}/{{email.category_tag}}"> {{email.Category}} </a> + <a href="/tag/{{list_address}}/{{email.category_tag}}"> {{email.category}} </a> </div> {% else %} - <div class="inline-block type type_{{email.Category|lower}}"> - <a href="/tag/{{list_address}}/{{email.Category|lower}}"> {{email.Category}} </a> + <div class="inline-block type type_{{email.category|lower}}"> + <a href="/tag/{{list_address}}/{{email.category|lower}}"> {{email.category}} </a> </div> {% endif %} <div class="inline-block gravatar"> - {% if email.Email %} - {% gravatar_img_for_email email.Email 40 %} <br /> + {% if email.email %} + {% gravatar_img_for_email email.email 40 %} <br /> {% endif %} - {{email.From}} + {{email.sender}} </div> <div class="inline-block thread_email"> <span class="expander"> - {{email.Content}} + {{email.content}} </span> </div> </div> @@ -76,7 +76,7 @@ {% endfor %} </ul> <ul class="inline-block"> - <li class="participant"> {{email.participants}} participants</li> + <li class="participant"> {{email.participants|length}} participants</li> <li class="discussion"> {{email.answers}} comments</li> </ul> <ul class="inline-block"> |