summaryrefslogtreecommitdiffstats
path: root/templates/thread.html
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-03-23 18:36:51 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-03-23 18:36:51 +0100
commite2ad1c98414750d37ab259befe7b03886880651a (patch)
tree2d79563a24afb7d2b63c09a8882f7e5016543e12 /templates/thread.html
parent86c18f08b9621dcc373556ec14d0c6480d0aae65 (diff)
downloadhyperkitty-e2ad1c98414750d37ab259befe7b03886880651a.tar.gz
hyperkitty-e2ad1c98414750d37ab259befe7b03886880651a.tar.xz
hyperkitty-e2ad1c98414750d37ab259befe7b03886880651a.zip
work on the thread view
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html82
1 files changed, 8 insertions, 74 deletions
diff --git a/templates/thread.html b/templates/thread.html
index bf2efda..b413c5a 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -1,15 +1,8 @@
-<!DOCTYPE HTML>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="ROBOTS" content="INDEX, FOLLOW" />
+{% extends "base_thread.html" %}
- <title>Fedora mail app</title>
- <meta name="author" content="" />
+{% block title %}{{ app_name }}{% endblock %}
- <meta name="dc.language" content="en" />
-
- <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css" />
+{% block additional_headers %}
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/thread.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
@@ -22,62 +15,9 @@
});
});
</script>
-</head>
-
-<body>
- <!-- Header -->
- <div class="header">
- <div id="headline">
- <ul class="inline-block">
- <li id="list_name"> Fedora Development</li>
- </ul>
- <div id="top_right">
- <form action="#search" method="get">
- <input type="text" name="search_text"
- placeholder="Search this list."/>
- </form>
- </div>
- </div>
- <p id="list_email">
- <a href="mailto:devel@list.fedoraproject.org">
- devel@list.fedoraproject.org
- </a>
- </p>
-
- <div id="thread_nav">
- <div id="newewthread" class="inline-block">
- <a href="{{ next_thread_id }}">
- <img src="{{ STATIC_URL }}img/button_newer.png" alt="New thread" />
- </a>
- <br />
- {{next_thread}}
- </div>
-
- <div class="inline-block thread_title">
- <span class="type type_question">
- <a href="/tag/question"> question </a>
- </span>
- <br />
- {{first_mail.email.Subject}}
- <ul class="inline thread_info">
- <li class="participant"> {{participants|length}} participants</li>
- <li class="discussion"> {{answers}} comments</li>
- </ul>
- </div>
-
- <div id="olderhread" class="inline-block right">
- <a href="{{ prev_thread_id }}">
- <img src="{{ STATIC_URL }}img/button_older.png" alt="New thread" />
- </a>
- <br />
- {{prev_thread}}
- </div>
- </div>
+{% endblock %}
-
- <hr id="white"/>
- <hr />
- </div>
+{% block content %}
<div class="content">
@@ -145,7 +85,7 @@
</div>
</div>
<div id="first_email_body">
- {{first_mail.email.body}}
+ {{first_mail.email.Content}}
</div>
<ul class="email_info inline">
<li class="neutral"> 0</li>
@@ -166,20 +106,15 @@
<div class="email_author inline-block">
<span class="name">{{email.email.From}}</span>
<br />
-<!--
<span class="rank">Rank 8</span>
--->
</div>
<div class="email_date inline-block right">
<span class="date">{{email.email.Date}}</span>
<br />
-<!--
- <span class="time">00:25:50 UTC</span>
--->
</div>
</div>
<div class="email_body">
- {{email.email.body}}
+ {{email.email.Content}}
</div>
<ul class="email_info inline">
<li class="neutral"> 0</li>
@@ -194,5 +129,4 @@
</section>
</div> <!-- end of content -->
-</body>
-</html>
+{% endblock %}