Browse code

FIX: chybajuca ikonka v chate, ak kontakt nema vlastny avatar

Cinan Rakosnik authored on 08/05/2013 at 15:30:35
Showing 1 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 .user
2 2
   .avatar
3
-    %img{src: "#{@avatar}", alt: "#{@username}"}
3
+    %img{src: "#{@avatar || 'assets/avatar.png'}", alt: "#{@username}"}
4 4
   -#todo: user name missing in design
5 5
 .date #{@date}
6 6
 %p #{@message}
7 7
\ No newline at end of file