Skip to content

Commit c7aed29

Browse files
committed
add class trom table header to table body
1 parent 1d7dd7d commit c7aed29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/repo/branch/list.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
{{range $branch := .Branches}}
4949
{{if ne .Name $.DefaultBranch}}
5050
<tr>
51-
<td>
51+
<td class="six wide">
5252
{{if .IsDeleted}}
5353
<s><a href="{{$.RepoLink}}/src/branch/{{.Name | EscapePound}}">{{.Name}}</a></s>
5454
<p class="info">{{$.i18n.Tr "repo.branch.deleted_by" .DeletedBranch.DeletedBy.Name}} {{TimeSinceUnix .DeletedBranch.DeletedUnix $.i18n.Lang}}</p>
@@ -60,7 +60,7 @@
6060
<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>
6161
{{end}}
6262
</td>
63-
<td class="ui">
63+
<td class="two wide ui">
6464
{{if not .IsDeleted}}
6565
<div class="commit-divergence">
6666
<div class="bar-group">
@@ -74,7 +74,7 @@
7474
</div>
7575
{{end}}
7676
</td>
77-
<td class="right aligned">
77+
<td class="two wide right aligned">
7878
{{if not .LatestPullRequest}}
7979
{{if and (not .IsDeleted) $.AllowsPulls}}
8080
<a href="{{$.RepoLink}}/compare/{{$.DefaultBranch | EscapePound}}...{{if ne $.Repository.Owner.Name $.Owner.Name}}{{$.Owner.Name}}:{{end}}{{.Name | EscapePound}}">
@@ -93,7 +93,7 @@
9393
{{end}}
9494
</td>
9595
{{if and $.IsWriter (not $.IsMirror)}}
96-
<td class="right aligned">
96+
<td class="one wide right aligned">
9797
{{if .IsProtected}}
9898
<i class="octicon octicon-shield"></i>
9999
{{else if .IsDeleted}}

0 commit comments

Comments
 (0)