|
31 | 31 | </div>
|
32 | 32 | <div class="ui attached info segment {{$class}}">
|
33 | 33 | <div class="ui stackable grid">
|
34 |
| - <div class="ten wide column"> |
| 34 | + <div class="nine wide column"> |
35 | 35 | {{if .Author}}
|
36 | 36 | <img class="ui avatar image" src="{{.Author.RelAvatarLink}}" />
|
37 | 37 | {{if .Author.FullName}}
|
|
43 | 43 | <img class="ui avatar image" src="{{AvatarLink .Commit.Author.Email}}" />
|
44 | 44 | <strong>{{.Commit.Author.Name}}</strong>
|
45 | 45 | {{end}}
|
| 46 | + <span class="text grey" id="authored-time">{{TimeSince .Commit.Author.When $.Lang}}</span> |
46 | 47 | {{if or (ne .Commit.Committer.Name .Commit.Author.Name) (ne .Commit.Committer.Email .Commit.Author.Email)}}
|
47 |
| - <span> </span> |
48 |
| - {{if ne .Verification.CommittingUser.ID 0}} |
49 |
| - <img class="ui avatar image" src="{{.Verification.CommittingUser.RelAvatarLink}}" /> |
50 |
| - <a href="{{.Verification.CommittingUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong> <{{.Commit.Committer.Email}}></a> |
51 |
| - {{else}} |
52 |
| - <img class="ui avatar image" src="{{AvatarLink .Commit.Committer.Email}}" /> |
53 |
| - <strong>{{.Commit.Committer.Name}}</strong> |
54 |
| - {{end}} |
| 48 | + <div class="committed-by"> |
| 49 | + <span class="text grey">{{svg "octicon-git-commit" 16}}{{.i18n.Tr "repo.diff.committed_by"}}</span> |
| 50 | + {{if ne .Verification.CommittingUser.ID 0}} |
| 51 | + <img class="ui avatar image" src="{{.Verification.CommittingUser.RelAvatarLink}}" /> |
| 52 | + <a href="{{.Verification.CommittingUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong> <{{.Commit.Committer.Email}}></a> |
| 53 | + {{else}} |
| 54 | + <img class="ui avatar image" src="{{AvatarLink .Commit.Committer.Email}}" /> |
| 55 | + <strong>{{.Commit.Committer.Name}}</strong> |
| 56 | + {{end}} |
| 57 | + </div> |
55 | 58 | {{end}}
|
56 |
| - <span class="text grey" id="authored-time">{{TimeSince .Commit.Author.When $.Lang}}</span> |
| 59 | + |
57 | 60 | </div>
|
58 |
| - <div class="six wide right aligned column"> |
| 61 | + <div class="seven wide right aligned column"> |
59 | 62 | <div class="ui horizontal list">
|
60 | 63 | {{if .Parents}}
|
61 | 64 | <div class="item">
|
|
0 commit comments