[Oi-commits] r1159 - trunk/templates/user

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Tue Mar 25 17:24:30 EET 2008


Author: jnmbk
Date: Tue Mar 25 17:24:30 2008
New Revision: 1159

Modified:
   trunk/templates/user/profile.html
Log:
show avatar here too

Modified: trunk/templates/user/profile.html
=================================================================
--- trunk/templates/user/profile.html	(original)
+++ trunk/templates/user/profile.html	Tue Mar 25 17:24:30 2008
@@ -17,10 +17,10 @@
 
 {% if info %}
 <div id="user_profile">
-    <h2>{{ info }} ({{ info.date_joined|date:"d F Y" }} tarihinden beri üye)</h2>
+    <h2>{{ info }}</h2>
     <div id="user_profile_left">
         <h3>Avatar</h3>
-        <img src="/media/dijital/img/forum/avatar.jpg" />
+        <img src="{{ info.get_profile.avatar.get_file_url }}" />
     </div>
     <div id="user_profile_right">
         <h3>Kişisel Bilgiler</h3>
@@ -28,7 +28,8 @@
             <li>Adı: {{ info.first_name }}</li>
             <li>Soyadı: {{ info.last_name }}</li>
             <li>Şehir: {{ info.get_profile.get_city_display }}</li>
-            <li>Doğum tarihi: {{ info.get_profile.birthday|date:"d F Y" }}</li>
+            <li>Doğum Tarihi: {{ info.get_profile.birthday|date:"d F Y" }}</li>
+            <li>Kayıt Tarihi: {{ info.date_joined|date:"d F Y" }}</li>
         </ul>
         <h3>İletişim Bilgileri</h3>
         <ul>


More information about the Oi-commits mailing list