File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 66 <th class="two wide sha">SHA1</th>
77 <th class="eight wide message">{{ctx.Locale.Tr "repo.commits.message"}}</th>
88 <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>
1010 </tr>
1111 </thead>
1212 <tbody class="commit-list">
2525 {{$userName}}
2626 {{end}}
2727 </td>
28- <td class="sha gt-df ">
28+ <td class="sha">
2929 {{$class := "ui sha label"}}
3030 {{if .Signature}}
3131 {{$class = (print $class " isSigned")}}
7676 {{else}}
7777 <td class="text right aligned">{{TimeSince .Author.When ctx.Locale}}</td>
7878 {{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}}
8484 </td>
8585 </tr>
8686 {{end}}
You can’t perform that action at this time.
0 commit comments