2024-04-29 22:53:15 +02:00
|
|
|
{{if .File}}
|
2016-08-28 04:31:42 -07:00
|
|
|
<div class="diff-file-box">
|
2016-08-11 05:48:08 -07:00
|
|
|
<div class="ui attached table segment">
|
2023-03-06 09:37:58 +08:00
|
|
|
<div class="file-body file-code code-diff code-diff-unified unicode-escaped">
|
2016-08-11 05:48:08 -07:00
|
|
|
<table>
|
|
|
|
|
<tbody>
|
2018-11-09 14:05:43 +02:00
|
|
|
{{template "repo/diff/section_unified" dict "file" .File "root" $}}
|
2016-08-11 05:48:08 -07:00
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2024-04-29 22:53:15 +02:00
|
|
|
{{else}}
|
|
|
|
|
<div class="tw-p-6 tw-text-center">
|
|
|
|
|
{{ctx.Locale.Tr "repo.editor.no_changes_to_show"}}
|
|
|
|
|
</div>
|
|
|
|
|
{{end}}
|