{{.Project.Title}}
+{{.Project.Title}}
{{if $canWriteProject}} -{{ctx.Locale.Tr "repo.diff.file_before"}}
-
{{ctx.Locale.Tr "repo.diff.file_image_width"}}:
@@ -37,7 +37,7 @@
{{if .blobHead}}
{{ctx.Locale.Tr "repo.diff.file_after"}}
{{ctx.Locale.Tr "repo.diff.file_image_width"}}:
@@ -55,9 +55,9 @@
+
+
-
+
+
{{svg "octicon-x" 16}}
diff --git a/templates/repo/issue/view_content/pull.tmpl b/templates/repo/issue/view_content/pull_merge_box.tmpl
similarity index 96%
rename from templates/repo/issue/view_content/pull.tmpl
rename to templates/repo/issue/view_content/pull_merge_box.tmpl
index 064b62e128..641520247d 100644
--- a/templates/repo/issue/view_content/pull.tmpl
+++ b/templates/repo/issue/view_content/pull_merge_box.tmpl
@@ -1,7 +1,13 @@
{{if and .Issue.PullRequest.HasMerged (not .IsPullBranchDeletable)}}
{{/* Then the merge box will not be displayed because this page already contains enough information */}}
{{else}}
-
+
{{if and (not $.DisableDownloadSourceArchives) (not $release.IsDraft) ($.Permission.CanRead ctx.Consts.RepoUnitTypeCode)}} --
- {{svg "octicon-file-zip" 16 "download-icon"}}{{ctx.Locale.Tr "repo.release.source_code"}} (ZIP)
+
-
+
+ {{svg "octicon-file-zip" 16 "download-icon"}}{{ctx.Locale.Tr "repo.release.source_code"}} (ZIP)
+
- -
- {{svg "octicon-file-zip" 16 "download-icon"}}{{ctx.Locale.Tr "repo.release.source_code"}} (TAR.GZ)
+
-
+
+ {{svg "octicon-file-zip" 16 "download-icon"}}{{ctx.Locale.Tr "repo.release.source_code"}} (TAR.GZ)
+
{{end}}
- {{range $release.Attachments}}
- -
-
- {{svg "octicon-package" 16 "download-icon"}}{{.Name}}
+ {{range $att := $release.Attachments}}
+
-
+
+ {{svg "octicon-package" 16 "download-icon"}}{{$att.Name}}
-
- {{.Size | FileSize}}
-
+
+ {{$att.Size | FileSize}}
+
{{svg "octicon-info"}}
+
+ {{DateUtils.TimeSince $att.CreatedUnix}}
{{end}}
diff --git a/templates/repo/settings/lfs_file.tmpl b/templates/repo/settings/lfs_file.tmpl
index 9f72d764ae..7698f77b2a 100644
--- a/templates/repo/settings/lfs_file.tmpl
+++ b/templates/repo/settings/lfs_file.tmpl
@@ -21,7 +21,7 @@
{{else if not .IsTextFile}}
{{if .IsImageFile}}
-
+
{{else if .IsVideoFile}}