File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
<th class="two wide sha">SHA1</th>
7
7
<th class="eight wide message">{{ctx.Locale.Tr "repo.commits.message"}}</th>
8
8
<th class="two wide right aligned">{{ctx.Locale.Tr "repo.commits.date"}}</th>
9
- <th class="one wide right aligned "></th>
9
+ <th class="one wide"></th>
10
10
</tr>
11
11
</thead>
12
12
<tbody class="commit-list">
25
25
{{$userName}}
26
26
{{end}}
27
27
</td>
28
- <td class="sha gt-df ">
28
+ <td class="sha">
29
29
{{$class := "ui sha label"}}
30
30
{{if .Signature}}
31
31
{{$class = (print $class " isSigned")}}
76
76
{{else}}
77
77
<td class="text right aligned">{{TimeSince .Author.When ctx.Locale}}</td>
78
78
{{end}}
79
- <td class="gt-pt-0 gt-pb -0">
80
- <div class="gt-df gt-je" >
81
- <button class="btn interact-bg gt-p-3" data-tooltip-content="{{ctx.Locale.Tr "copy_hash"}}" data-clipboard-text="{{.ID}}">{{svg "octicon-copy"}}</button>
82
- {{if $.FileName}} <a class="btn interact-bg gt-p-3" data-tooltip-content="{{ctx.Locale.Tr "repo.commits.view_path"}}" href="{{printf "%s/src/commit/%s/%s" $commitRepoLink (PathEscape .ID.String) $.FileName}}">{{svg "octicon-file-code"}}</a>{{end}}
83
- </div>
79
+ <td class="text right aligned gt-py -0">
80
+ <button class="btn interact-bg gt-p-3" data-tooltip-content="{{ctx.Locale.Tr "copy_hash"}}" data-clipboard-text="{{.ID}}">{{svg "octicon-copy"}}</button >
81
+ {{if $.FileName}}
82
+ <a class="btn interact-bg gt-p-3" data-tooltip-content="{{ctx.Locale.Tr "repo.commits.view_path"}}" href="{{printf "%s/src/commit/%s/%s" $commitRepoLink (PathEscape .ID.String) (PathEscapeSegments $.FileName) }}">{{svg "octicon-file-code"}}</a>
83
+ {{end}}
84
84
</td>
85
85
</tr>
86
86
{{end}}
You can’t perform that action at this time.
0 commit comments