diff --git a/templates/package/view.tmpl b/templates/package/view.tmpl index 6064db1b4c03e..043e8ca0121c7 100644 --- a/templates/package/view.tmpl +++ b/templates/package/view.tmpl @@ -84,14 +84,17 @@ {{end}} {{end}} -
- {{.locale.Tr "packages.versions"}} ({{.TotalVersionCount}}) - {{.locale.Tr "packages.versions.view_all"}} -
- {{range .LatestVersions}} -
- {{.Version}} - {{DateTime "short" .CreatedUnix}} + {{if .LatestVersions}} +
+ {{.locale.Tr "packages.versions"}} ({{.TotalVersionCount}}) + {{.locale.Tr "packages.versions.view_all"}} +
+ {{range .LatestVersions}} +
+ {{.Version}} + {{DateTime "short" .CreatedUnix}} +
+ {{end}}
{{end}}
diff --git a/templates/repo/pulse.tmpl b/templates/repo/pulse.tmpl index 0d1c9864dcf63..f4a16a92c69d6 100644 --- a/templates/repo/pulse.tmpl +++ b/templates/repo/pulse.tmpl @@ -19,7 +19,7 @@
-
+
{{if (or (.Permission.CanRead $.UnitTypeIssues) (.Permission.CanRead $.UnitTypePullRequests))}}

{{.locale.Tr "repo.activity.overview"}}

@@ -111,8 +111,8 @@ {{end}} {{if gt .Activity.PublishedReleaseCount 0}} -

- {{svg "octicon-tag"}} +

+ {{svg "octicon-tag" 16 "gt-mr-3"}} {{.locale.Tr "repo.activity.title.releases_published_by" (.locale.TrN .Activity.PublishedReleaseCount "repo.activity.title.releases_1" "repo.activity.title.releases_n" .Activity.PublishedReleaseCount) (.locale.TrN .Activity.PublishedReleaseAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.PublishedReleaseAuthorCount) @@ -133,8 +133,8 @@ {{end}} {{if gt .Activity.MergedPRCount 0}} -

- {{svg "octicon-git-pull-request"}} +

+ {{svg "octicon-git-pull-request" 16 "gt-mr-3"}} {{.locale.Tr "repo.activity.title.prs_merged_by" (.locale.TrN .Activity.MergedPRCount "repo.activity.title.prs_1" "repo.activity.title.prs_n" .Activity.MergedPRCount) (.locale.TrN .Activity.MergedPRAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.MergedPRAuthorCount) @@ -152,8 +152,8 @@ {{end}} {{if gt .Activity.OpenedPRCount 0}} -

- {{svg "octicon-git-branch"}} +

+ {{svg "octicon-git-branch" 16 "gt-mr-3"}} {{.locale.Tr "repo.activity.title.prs_opened_by" (.locale.TrN .Activity.OpenedPRCount "repo.activity.title.prs_1" "repo.activity.title.prs_n" .Activity.OpenedPRCount) (.locale.TrN .Activity.OpenedPRAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.OpenedPRAuthorCount) @@ -171,8 +171,8 @@ {{end}} {{if gt .Activity.ClosedIssueCount 0}} -

- {{svg "octicon-issue-closed"}} +

+ {{svg "octicon-issue-closed" 16 "gt-mr-3"}} {{.locale.Tr "repo.activity.title.issues_closed_from" (.locale.TrN .Activity.ClosedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n" .Activity.ClosedIssueCount) (.locale.TrN .Activity.ClosedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.ClosedIssueAuthorCount) @@ -190,8 +190,8 @@ {{end}} {{if gt .Activity.OpenedIssueCount 0}} -

- {{svg "octicon-issue-opened"}} +

+ {{svg "octicon-issue-opened" 16 "gt-mr-3"}} {{.locale.Tr "repo.activity.title.issues_created_by" (.locale.TrN .Activity.OpenedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n" .Activity.OpenedIssueCount) (.locale.TrN .Activity.OpenedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.OpenedIssueAuthorCount) @@ -209,13 +209,10 @@ {{end}} {{if gt .Activity.UnresolvedIssueCount 0}} -

- {{svg "octicon-comment-discussion"}} +

+ {{svg "octicon-comment-discussion" 16 "gt-mr-3"}} {{.locale.TrN .Activity.UnresolvedIssueCount "repo.activity.title.unresolved_conv_1" "repo.activity.title.unresolved_conv_n" .Activity.UnresolvedIssueCount}}

-
- {{.locale.Tr "repo.activity.unresolved_conv_desc"}} -
{{range .Activity.UnresolvedIssues}}