-
+
-
+
-
+
diff --git a/templates/org/team/teams.tmpl b/templates/org/team/teams.tmpl
index 53c909ee9c..4e3e388cb6 100644
--- a/templates/org/team/teams.tmpl
+++ b/templates/org/team/teams.tmpl
@@ -4,7 +4,7 @@
{{/* FIXME: here and below, the tw-overflow-visible is not quite right but it is still needed the moment: to show the important buttons when the width is narrow */}}
-
+
{{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}
-
+
{{if not .LatestPullRequest}}
{{if .IsIncluded}}
@@ -150,7 +150,7 @@
{{end}}
{{/* FIXME: here and above, the tw-overflow-visible is not quite right */}}
-
+
{{if and $.IsWriter (not $.Repository.IsArchived) (not .DBBranch.IsDeleted)}}
{{if .Committer}}
- {{DateUtils.TimeSince .Committer.When}}
+ {{DateUtils.TimeSince .Committer.When}}
{{else}}
- {{DateUtils.TimeSince .Author.When}}
+ {{DateUtils.TimeSince .Author.When}}
{{end}}
-
+
{{svg "octicon-copy"}}
{{/* at the moment, wiki doesn't support these "view" links like "view at history point" */}}
{{if not $.PageIsWiki}}
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 0770e287fb..19f2efecb7 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -235,7 +235,7 @@
{{template "repo/upload" .}}
{{end}}
-
{{FileSize .Size}}
{{DateUtils.TimeSince .CreatedUnix}}
-
+
{{ctx.Locale.Tr "repo.settings.lfs_findcommits"}}
{{svg "octicon-trash"}}
diff --git a/templates/repo/settings/lfs_locks.tmpl b/templates/repo/settings/lfs_locks.tmpl
index 64c6b3a550..dfbae0633e 100644
--- a/templates/repo/settings/lfs_locks.tmpl
+++ b/templates/repo/settings/lfs_locks.tmpl
@@ -36,7 +36,7 @@
{{DateUtils.TimeSince .Created}}
-
+
{{$timeSince := DateUtils.TimeSince .UpdatedUnix}}
- {{ctx.Locale.Tr "repo.wiki.last_updated" $timeSince}}
+ {{ctx.Locale.Tr "repo.wiki.last_updated" $timeSince}}
{{end}}
diff --git a/templates/repo/wiki/revision.tmpl b/templates/repo/wiki/revision.tmpl
index ca8954928d..80179ce46b 100644
--- a/templates/repo/wiki/revision.tmpl
+++ b/templates/repo/wiki/revision.tmpl
@@ -14,7 +14,7 @@
+
{{ctx.Locale.Tr "units.unit"}}
- {{ctx.Locale.Tr "org.teams.none_access"}}
+ {{ctx.Locale.Tr "org.teams.none_access"}}
{{svg "octicon-question" 16 "tw-ml-1"}}
- {{ctx.Locale.Tr "org.teams.read_access"}}
+ {{ctx.Locale.Tr "org.teams.read_access"}}
{{svg "octicon-question" 16 "tw-ml-1"}}
- {{ctx.Locale.Tr "org.teams.write_access"}}
+ {{ctx.Locale.Tr "org.teams.write_access"}}
{{svg "octicon-question" 16 "tw-ml-1"}}
@@ -97,17 +97,17 @@
- {{ctx.Locale.Tr "install.title"}}
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index 410a3c4b62..b67c18dd7d 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -77,11 +77,11 @@
{{template "base/alert" .}}
{{if .IsOrganizationOwner}}
-
-
+
diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl
index d60943a3de..3cbd651059 100644
--- a/templates/projects/view.tmpl
+++ b/templates/projects/view.tmpl
@@ -135,7 +135,7 @@
{{template "repo/issue/label_precolors"}}
+
diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl
index 5d6a8ddf01..f4f3c2e5c5 100644
--- a/templates/repo/branch/list.tmpl
+++ b/templates/repo/branch/list.tmpl
@@ -30,7 +30,7 @@
{{svg "octicon-git-commit" 16 "tw-mr-1"}}{{ShortSha .DefaultBranchBranch.DBBranch.CommitID}} · · {{ctx.Locale.Tr "org.repo_updated"}} {{DateUtils.TimeSince .DefaultBranchBranch.DBBranch.CommitTime}}{{if .DefaultBranchBranch.DBBranch.Pusher}} {{template "shared/user/avatarlink" dict "user" .DefaultBranchBranch.DBBranch.Pusher}}{{template "shared/user/namelink" .DefaultBranchBranch.DBBranch.Pusher}}{{end}}