[PATCH 44/46] patch: Redesign slightly the comment headers
Damien Lespiau
damien.lespiau at intel.com
Sun Nov 9 06:09:02 AEDT 2014
From: Belén Barros Peña <belen.barros.pena at intel.com>
Signed-off-by: Belén Barros Peña <belen.barros.pena at intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
htdocs/css/style.css | 1 +
templates/patchwork/patch.html | 10 ++++++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index 18b9b54..96575df 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -246,6 +246,7 @@ table.patchmeta tr th, table.patchmeta tr td {
.comment .meta {
background: #f0f0f0;
+ padding: 0.3em 0.5em;
}
.comment .content {
diff --git a/templates/patchwork/patch.html b/templates/patchwork/patch.html
index 04f6ac0..1c6a5f6 100644
--- a/templates/patchwork/patch.html
+++ b/templates/patchwork/patch.html
@@ -172,7 +172,10 @@ function toggle_headers(link_id, headers_id)
{% if item %}
<h2>Commit Message</h2>
<div class="comment">
-<div class="meta">{{ item.submitter|personify }} - {{item.date}}</div>
+<div class="meta">
+ <span>{{ item.submitter|personify }}</span>
+ <span class="pull-right">{{ item.date }}</span>
+</div>
<pre class="content">
{{ item|commentsyntax }}
</pre>
@@ -204,7 +207,10 @@ function toggle_headers(link_id, headers_id)
{% for comment in item %}
<div class="comment">
-<div class="meta">{{ comment.submitter|personify }} - {{comment.date}}</div>
+<div class="meta">
+ <span>{{ comment.submitter|personify }}</span>
+ <span class="pull-right">{{ comment.date }}</span>
+</div>
<pre class="content">
{{ comment|commentsyntax }}
</pre>
--
1.8.3.1
More information about the Patchwork
mailing list