From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.3. Signed-off-by: Daniel Baumann --- templates/repo/diff/image_diff.tmpl | 83 +++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 templates/repo/diff/image_diff.tmpl (limited to 'templates/repo/diff/image_diff.tmpl') diff --git a/templates/repo/diff/image_diff.tmpl b/templates/repo/diff/image_diff.tmpl new file mode 100644 index 0000000..0612854 --- /dev/null +++ b/templates/repo/diff/image_diff.tmpl @@ -0,0 +1,83 @@ +{{if or .blobBase .blobHead}} + + +
+ + + +
+
+
+ {{if .blobBase}} + +

{{ctx.Locale.Tr "repo.diff.file_before"}}

+ +

+ + {{ctx.Locale.Tr "repo.diff.file_image_width"}}: +  |  + {{ctx.Locale.Tr "repo.diff.file_image_height"}}: +  |  + + {{ctx.Locale.Tr "repo.diff.file_byte_size"}}: {{ctx.Locale.TrSize .blobBase.Size}} +

+
+ {{end}} + {{if .blobHead}} + +

{{ctx.Locale.Tr "repo.diff.file_after"}}

+ +

+ + {{ctx.Locale.Tr "repo.diff.file_image_width"}}: +  |  + {{ctx.Locale.Tr "repo.diff.file_image_height"}}: +  |  + + {{ctx.Locale.Tr "repo.diff.file_byte_size"}}: {{ctx.Locale.TrSize .blobHead.Size}} +

+
+ {{end}} +
+
+ {{if and .blobBase .blobHead}} +
+
+
+ + + + + + + + +
+
+
+
+
+ +
+ + +
+
+
+ {{end}} +
+
+ + +{{end}} -- cgit v1.2.3