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