changeset 737:d5bad4a2432f beta

css + templates update for user dashboards
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 22 Nov 2010 18:44:24 +0100
parents ab5c09715127
children ddaddffcb7dc
files rhodecode/public/css/style.css rhodecode/templates/journal.html
diffstat 2 files changed, 14 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/style.css	Mon Nov 22 18:36:32 2010 +0100
+++ b/rhodecode/public/css/style.css	Mon Nov 22 18:44:24 2010 +0100
@@ -1796,6 +1796,15 @@
 margin-top: 2px;
 }
 
+.currently_following{
+
+	padding-left: 10px;
+	padding-bottom:5px;
+
+}
+
+
+
 .add_icon {
 background:url("../images/icons/add.png") no-repeat scroll 3px;
 height:16px;
--- a/rhodecode/templates/journal.html	Mon Nov 22 18:36:32 2010 +0100
+++ b/rhodecode/templates/journal.html	Mon Nov 22 18:44:24 2010 +0100
@@ -51,19 +51,18 @@
         <div>
         %if c.following:
             %for entry in c.following:
-                <div>
+                <div class="currently_following">
                     %if entry.follows_user_id:
-                      <img alt="" src="/images/icons/user.png"/>
-                      
-                      ${entry.follows_user.username}
+                      <img title="${_('following user')}" alt="${_('user')}" src="/images/icons/user.png"/>
+                      ${entry.follows_user.full_contact}
                     %endif
                     
                     %if entry.follows_repo_id:
                     
                       %if entry.follows_repository.private:
-                        <img alt="" src="/images/icons/lock_closed.png"/>
+                        <img class="icon" title="${_('private repository')}" alt="${_('private repository')}" src="/images/icons/lock.png"/>
                       %else:
-                        <img alt="" src="/images/icons/lock_open.png"/>
+                        <img class="icon" title="${_('public repository')}" alt="${_('public repository')}" src="/images/icons/lock_open.png"/>
                       %endif
                       
                       ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home',