##// END OF EJS Templates
files avatar in front of message and rounded gravatars
Liviu -
r3650:69e369e1 new-ui
parent child Browse files
Show More
@@ -726,8 +726,8 b' label {'
726 726 margin: -5px 0;
727 727 padding: 0;
728 728 line-height: 1em;
729 border: 1px solid @grey4;
730 729 box-sizing: content-box;
730 border-radius: 50%;
731 731
732 732 &.gravatar-large {
733 733 margin: -0.5em .25em -0.5em 0;
@@ -234,6 +234,16 b''
234 234 min-height: auto;
235 235 padding-right: 5px;
236 236 }
237
238 .left-content-avatar {
239 width: 45px;
240 float: left;
241 margin-top: 8px;
242 }
243
244 .left-content-message {
245 float: left;
246 }
237 247 }
238 248
239 249 .right-content { // similar to form fields
@@ -271,12 +281,18 b''
271 281 }
272 282 .commit {
273 283 color: @grey1;
274 margin-bottom: 10px;
284 margin-bottom: 5px;
275 285 }
276 286 .commit.truncate-wrap {
277 287 overflow:hidden;
278 288 text-overflow: ellipsis;
279 289 }
290 .commit-author {
291 color: @grey1;
292 }
293 .commit-date {
294 color: @grey4;
295 }
280 296 }
281 297
282 298 // expand commit message
@@ -1,5 +1,5 b''
1 1 <div id="file-tree-wrapper" class="browser-body ${'full-load' if c.full_load else ''}">
2 <table class="code-browser rctable">
2 <table class="code-browser rctable repo_summary">
3 3 <thead>
4 4 <tr>
5 5 <th>${_('Name')}</th>
@@ -4,6 +4,12 b''
4 4 <div class="summary">
5 5 <div class="fieldset">
6 6 <div class="left-content">
7
8 <div class="left-content-avatar">
9 ${base.gravatar(c.commit.author, 30)}
10 </div>
11
12 <div class="left-content-message">
7 13 <div class="fieldset collapsable-content no-hide" data-toggle="summary-details">
8 14 <div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div>
9 15 </div>
@@ -12,7 +18,10 b''
12 18 <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div>
13 19 </div>
14 20
15 <div class="clear-fix">${base.gravatar_with_user(c.commit.author)}-${h.age_component(c.commit.date)}</div>
21 <div class="clear-fix">
22 <span class="commit-author">${h.link_to_user(c.commit.author)}</span><span class="commit-date">-${h.age_component(c.commit.date)}</span>
23 </div>
24 </div>
16 25 </div>
17 26
18 27 <div class="right-content">
General Comments 0
You need to be logged in to leave comments. Login now