File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 34
34
</h4>
35
35
<div class="ui attached table segment">
36
36
<table class="ui very basic striped fixed table single line">
37
- <thead>
38
- <tr>
39
- <th class="six wide">{{.i18n.Tr "repo.branch.name"}}</th>
40
- <th class="two wide"></th>
41
- <th class="two wide"></th>
42
- {{if and $.IsWriter (not $.IsMirror)}}
43
- <th class="one wide right aligned">{{.i18n.Tr "repo.branch.delete_head"}}</th>
44
- {{end}}
45
- </tr>
46
- </thead>
47
37
<tbody>
48
38
{{range $branch := .Branches}}
49
39
{{if ne .Name $.DefaultBranch}}
50
40
<tr>
51
- <td>
41
+ <td class="six wide" >
52
42
{{if .IsDeleted}}
53
43
<s><a href="{{$.RepoLink}}/src/branch/{{.Name | EscapePound}}">{{.Name}}</a></s>
54
44
<p class="info">{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}}</p>
60
50
<p class="info"><i class="octicon octicon-git-commit"></i><a href="{{$.RepoLink}}/commit/{{.Commit.ID.String}}">{{ShortSha .Commit.ID.String}}</a> · <span class="commit-message">{{RenderCommitMessage .Commit.CommitMessage $.RepoLink $.Repository.ComposeMetas}}</span> · {{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}</p>
61
51
{{end}}
62
52
</td>
63
- <td class="ui">
53
+ <td class="two wide ui">
64
54
{{if not .IsDeleted}}
65
55
<div class="commit-divergence">
66
56
<div class="bar-group">
74
64
</div>
75
65
{{end}}
76
66
</td>
77
- <td class="right aligned">
67
+ <td class="two wide right aligned">
78
68
{{if not .LatestPullRequest}}
79
69
{{if and (not .IsDeleted) $.AllowsPulls}}
80
70
<a href="{{$.RepoLink}}/compare/{{$.DefaultBranch | EscapePound}}...{{if ne $.Repository.Owner.Name $.Owner.Name}}{{$.Owner.Name}}:{{end}}{{.Name | EscapePound}}">
93
83
{{end}}
94
84
</td>
95
85
{{if and $.IsWriter (not $.IsMirror)}}
96
- <td class="right aligned">
86
+ <td class="one wide right aligned">
97
87
{{if .IsProtected}}
98
88
<i class="octicon octicon-shield"></i>
99
89
{{else if .IsDeleted}}
You can’t perform that action at this time.
0 commit comments