[damned-lies] Refs #123 - Made no-comment vertimus actions more compact
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Refs #123 - Made no-comment vertimus actions more compact
- Date: Sat, 16 Feb 2019 09:31:07 +0000 (UTC)
commit 1a7e7a0a84c6f5ab8e761195f797f9b7c85bf2ac
Author: Claude Paroz <claude 2xlibre net>
Date: Sat Feb 16 10:30:50 2019 +0100
Refs #123 - Made no-comment vertimus actions more compact
templates/vertimus/vertimus_detail.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/templates/vertimus/vertimus_detail.html b/templates/vertimus/vertimus_detail.html
index c69db2e6..a97c6b7a 100644
--- a/templates/vertimus/vertimus_detail.html
+++ b/templates/vertimus/vertimus_detail.html
@@ -210,6 +210,8 @@ $(document).ready(function() {
<span class="hidden-xs">, {{ action.created|date:_("Y-m-d g:i a O") }}</span>
<div class="clear"></div>
</div>
+
+ {% if action.file or action.comment %}
<div class="vertimus_action_content">
{% if action.file %}
<div class="uploaded_file">
@@ -239,11 +241,10 @@ $(document).ready(function() {
{% endif %}
{% if action.comment %}
<p class="vertimus_action_comment">{{ action.comment|urlize|linebreaksbr }}</p>
- {% else %}
- <p><em>{% trans "No comment" %}</em></p>
{% endif %}
<div class="clear"></div>
</div>
+ {% endif %}
</div>
{% endfor %}
</div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]