# HG changeset patch # User Liviu # Date 2019-05-07 07:44:32 # Node ID 69e369e105c1a4ed5d1b2d996949400cbdfd9608 # Parent cfc40d7851f6e97a8783b67b709a5d51387db43b files avatar in front of message and rounded gravatars diff --git a/rhodecode/public/css/main.less b/rhodecode/public/css/main.less --- a/rhodecode/public/css/main.less +++ b/rhodecode/public/css/main.less @@ -726,8 +726,8 @@ label { margin: -5px 0; padding: 0; line-height: 1em; - border: 1px solid @grey4; box-sizing: content-box; + border-radius: 50%; &.gravatar-large { margin: -0.5em .25em -0.5em 0; diff --git a/rhodecode/public/css/summary.less b/rhodecode/public/css/summary.less --- a/rhodecode/public/css/summary.less +++ b/rhodecode/public/css/summary.less @@ -234,6 +234,16 @@ min-height: auto; padding-right: 5px; } + + .left-content-avatar { + width: 45px; + float: left; + margin-top: 8px; + } + + .left-content-message { + float: left; + } } .right-content { // similar to form fields @@ -271,12 +281,18 @@ } .commit { color: @grey1; - margin-bottom: 10px; + margin-bottom: 5px; } .commit.truncate-wrap { overflow:hidden; text-overflow: ellipsis; } + .commit-author { + color: @grey1; + } + .commit-date { + color: @grey4; + } } // expand commit message diff --git a/rhodecode/templates/files/files_browser_tree.mako b/rhodecode/templates/files/files_browser_tree.mako --- a/rhodecode/templates/files/files_browser_tree.mako +++ b/rhodecode/templates/files/files_browser_tree.mako @@ -1,5 +1,5 @@
- +
diff --git a/rhodecode/templates/files/files_tree_header.mako b/rhodecode/templates/files/files_tree_header.mako --- a/rhodecode/templates/files/files_tree_header.mako +++ b/rhodecode/templates/files/files_tree_header.mako @@ -4,15 +4,24 @@
-
-
${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}
+ +
+ ${base.gravatar(c.commit.author, 30)}
-
-
${h.urlify_commit_message(c.commit.message,c.repo_name)}
+
+
+
${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}
+
+ +
+
${h.urlify_commit_message(c.commit.message,c.repo_name)}
+
+ +
+ ${h.link_to_user(c.commit.author)}-${h.age_component(c.commit.date)} +
- -
${base.gravatar_with_user(c.commit.author)}-${h.age_component(c.commit.date)}
${_('Name')}