##// 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 margin: -5px 0;
726 margin: -5px 0;
727 padding: 0;
727 padding: 0;
728 line-height: 1em;
728 line-height: 1em;
729 border: 1px solid @grey4;
730 box-sizing: content-box;
729 box-sizing: content-box;
730 border-radius: 50%;
731
731
732 &.gravatar-large {
732 &.gravatar-large {
733 margin: -0.5em .25em -0.5em 0;
733 margin: -0.5em .25em -0.5em 0;
@@ -234,6 +234,16 b''
234 min-height: auto;
234 min-height: auto;
235 padding-right: 5px;
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 .right-content { // similar to form fields
249 .right-content { // similar to form fields
@@ -271,12 +281,18 b''
271 }
281 }
272 .commit {
282 .commit {
273 color: @grey1;
283 color: @grey1;
274 margin-bottom: 10px;
284 margin-bottom: 5px;
275 }
285 }
276 .commit.truncate-wrap {
286 .commit.truncate-wrap {
277 overflow:hidden;
287 overflow:hidden;
278 text-overflow: ellipsis;
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 // expand commit message
298 // expand commit message
@@ -1,5 +1,5 b''
1 <div id="file-tree-wrapper" class="browser-body ${'full-load' if c.full_load else ''}">
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 <thead>
3 <thead>
4 <tr>
4 <tr>
5 <th>${_('Name')}</th>
5 <th>${_('Name')}</th>
@@ -4,15 +4,24 b''
4 <div class="summary">
4 <div class="summary">
5 <div class="fieldset">
5 <div class="fieldset">
6 <div class="left-content">
6 <div class="left-content">
7 <div class="fieldset collapsable-content no-hide" data-toggle="summary-details">
7
8 <div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div>
8 <div class="left-content-avatar">
9 ${base.gravatar(c.commit.author, 30)}
9 </div>
10 </div>
10
11
11 <div class="fieldset collapsable-content" data-toggle="summary-details">
12 <div class="left-content-message">
12 <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div>
13 <div class="fieldset collapsable-content no-hide" data-toggle="summary-details">
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>
15 </div>
16
17 <div class="fieldset collapsable-content" data-toggle="summary-details">
18 <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div>
19 </div>
20
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>
13 </div>
24 </div>
14
15 <div class="clear-fix">${base.gravatar_with_user(c.commit.author)}-${h.age_component(c.commit.date)}</div>
16 </div>
25 </div>
17
26
18 <div class="right-content">
27 <div class="right-content">
General Comments 0
You need to be logged in to leave comments. Login now