diff options
| author | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-06-22 18:51:53 -0400 |
|---|---|---|
| committer | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-06-22 18:51:53 -0400 |
| commit | 5e3cd58c6c4adcf6108eba5062953bc6162976cd (patch) | |
| tree | 27a8f39442cc85b3f82367c668062a57280c94db /templates/threads | |
| parent | bc36d6fe5d92f83af7dc6e0b917ae4ebfe19d573 (diff) | |
Templates refactoring : Added messages/ and threads/ template directories
Diffstat (limited to 'templates/threads')
| -rw-r--r-- | templates/threads/right_col.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/threads/right_col.html b/templates/threads/right_col.html new file mode 100644 index 0000000..200e47a --- /dev/null +++ b/templates/threads/right_col.html @@ -0,0 +1,48 @@ +{% load gravatar %} + +<!-- right column --> + <section id="thread_overview_info"> + <!-- Start dates --> + <div id="thread_date_info"> + <div class="days_num inline-block">21</div> + <div class="days_text inline-block"> + days<br /> inactive + </div> + <div id="days_old" class="days_num inline-block">24</div> + <div class="days_text inline-block"> + days <br /> old + </div> + </div> + <p id="add_to_fav"> + <a href="#AddFav" class="notsaved">Add to favorite discussions</a> + </p> + <!-- End dates --> + <hr id="grey"/> + <div id="tags"> + <span id="tag_title">tags </span>({{tags|length}}) + <ul class="inline"> + {% for tag in tags %} + <li> {{ tag }} |</li> + {% endfor %} + </ul> + </div> + <div id="add_tag"> + <form action="/addtag/{{list_address}}/{{first_mail.message_id}}/" method="post"> + {% csrf_token %} + {{ addtag_form.as_p }} + <button type="submit">Add a tag</button> + </form> + </div> + <div id="participants"> + <span id="participants_title"> participants </span>({{participants|length}}) + <ul> + {% for key,value in participants.items %} + <li> + {% gravatar_img_for_email value.email 20%} + {{key}} + </li> + {% endfor %} + </ul> + </div> + </section> + |
