[damned-lies] Allow for a larger face image in action details (Bug #567399)
- From: Claude Paroz <claudep src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [damned-lies] Allow for a larger face image in action details (Bug #567399)
- Date: Tue, 10 Nov 2009 17:13:34 +0000 (UTC)
commit e39720d77a8a8f0ab0e277aa9ac1bd0132814dee
Author: Claude Paroz <claude 2xlibre net>
Date: Tue Nov 10 18:12:47 2009 +0100
Allow for a larger face image in action details (Bug #567399)
media/css/main.css | 5 +++++
templates/vertimus/vertimus_detail.html | 4 +++-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/media/css/main.css b/media/css/main.css
index e7052fd..6febab7 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -286,6 +286,11 @@ div.uploaded_file {
margin-left: 8px;
}
+div.face_image {
+ float: left;
+ margin-right: 8px;
+}
+
.error {
font-style: italic;
color: #666666;
diff --git a/templates/vertimus/vertimus_detail.html b/templates/vertimus/vertimus_detail.html
index a5c60bd..46d4d72 100644
--- a/templates/vertimus/vertimus_detail.html
+++ b/templates/vertimus/vertimus_detail.html
@@ -123,9 +123,11 @@ $(document).ready(function() {
<div class="vertimus_action">
<div class="vertimus_action_head">
<a name="{{ action.id }}"></a>
- {% if action.person.image %}<img src="{{ action.person.image }}" alt="face" height="18"/>
+ <div class="face_image">
+ {% if action.person.image %}<img src="{{ action.person.image }}" alt="face" style="max-height: 50px;"/>
{% else %}<img src="{{ MEDIA_URL }}img/nobody-16.png" alt="Person"/>
{% endif %}
+ </div>
<a href="{{ action.person.get_absolute_url }}">{{ action.person.name }}</a>
, <strong>{{ action }}</strong>, {{ action.created|date:_("Y-m-d g:i a O") }}
</div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]