[damned-lies] Affect class to action comment and use proper order for comment filters
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Affect class to action comment and use proper order for comment filters
- Date: Sat, 21 May 2011 19:34:46 +0000 (UTC)
commit 0bc25d7e5e5c58bb5d75dc7b28dac8368ccf5c31
Author: Claude Paroz <claude 2xlibre net>
Date: Sat May 21 21:32:27 2011 +0200
Affect class to action comment and use proper order for comment filters
Fixes bug #650570
media/css/main.css | 3 +++
templates/vertimus/vertimus_detail.html | 12 ++++++------
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/media/css/main.css b/media/css/main.css
index bb447fc..d0491f9 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -307,6 +307,9 @@ div#vertimus_stats:after {
.vertimus_action_content {
padding: 0.5em 12px 0;
}
+.vertimus_action_comment {
+ font-family: monospace;
+}
div.release_link {
float: right;
diff --git a/templates/vertimus/vertimus_detail.html b/templates/vertimus/vertimus_detail.html
index 73c57e9..f0e10a9 100644
--- a/templates/vertimus/vertimus_detail.html
+++ b/templates/vertimus/vertimus_detail.html
@@ -163,12 +163,12 @@ $(document).ready(function() {
{% endif %}
</div>
{% endif %}
- <p>{% if action.comment %}
- {{ action.comment|linebreaksbr|urlize }}
- {% else %}
- <em>{% trans "No comment" %}</em>
- {% endif %}
- </p><br/>
+ {% if action.comment %}
+ <p class="vertimus_action_comment">{{ action.comment|urlize|linebreaksbr }}</p>
+ {% else %}
+ <p><em>{% trans "No comment" %}</em></p>
+ {% endif %}
+ <br/>
</div>
</div>
{% endfor %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]