damned-lies r1310 - in trunk: . media/css templates/people vertimus
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1310 - in trunk: . media/css templates/people vertimus
- Date: Tue, 6 Jan 2009 15:04:29 +0000 (UTC)
Author: claudep
Date: Tue Jan 6 15:04:29 2009
New Revision: 1310
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1310&view=rev
Log:
2009-01-06 Claude Paroz <claude 2xlibre net>
* media/css/main.css:
* templates/people/person_overview.html: Make all text align to the right
of the image.
* vertimus/models.py: Fixed get_name which is a function call, not a
property.
Modified:
trunk/ChangeLog
trunk/media/css/main.css
trunk/templates/people/person_overview.html
trunk/vertimus/models.py
Modified: trunk/media/css/main.css
==============================================================================
--- trunk/media/css/main.css (original)
+++ trunk/media/css/main.css Tue Jan 6 15:04:29 2009
@@ -129,11 +129,15 @@
font-size: 140%;
}
-.person_detail img {
+.person_detail .image {
margin-right: 1em;
float: left;
}
+.person_detail .txt {
+ margin-left: 95px;
+}
+
div.mainpage {
width:80%;
text-align: left;
Modified: trunk/templates/people/person_overview.html
==============================================================================
--- trunk/templates/people/person_overview.html (original)
+++ trunk/templates/people/person_overview.html Tue Jan 6 15:04:29 2009
@@ -4,12 +4,14 @@
{% load i18n %}
<div class="person_detail">
+ <div class="image">
{% if person.image %}
<img src="{{ person.image }}" alt="{{ person.name }}" />
{% else %}
<img src="{{ MEDIA_URL }}img/nobody.png" alt="" />
{% endif %}
-
+ </div>
+ <div class="txt">
<a class="name" href="{{ person.get_absolute_url }}">{{ person.name }}</a><br />
{% if person.no_spam_email %}
@@ -35,4 +37,5 @@
{% if person.svn_account %}
<strong>{% trans "SVN account:" %}</strong> <a href="http://cia.vc/stats/author/{{ person.svn_account }}">{{ person.svn_account}}</a><br />
{% endif %}
+ </div>
</div>
Modified: trunk/vertimus/models.py
==============================================================================
--- trunk/vertimus/models.py (original)
+++ trunk/vertimus/models.py Tue Jan 6 15:04:29 2009
@@ -366,7 +366,7 @@
'module': old_state.branch.module.name,
'branch': old_state.branch.name,
'domain': old_state.domain.name,
- 'language': old_state.language.get_name,
+ 'language': old_state.language.get_name(),
'new_state': new_state,
'url': url
}
@@ -416,7 +416,7 @@
'module': state.branch.module.name,
'branch': state.branch.name,
'domain': state.domain.name,
- 'language': state.language.get_name,
+ 'language': state.language.get_name(),
'url': url
}
message += comment or ugettext("Without comment")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]