|
|
@ -41,7 +41,7 @@ |
|
|
|
<a class="table-cell tiny background light grey"></a> |
|
|
|
<a class="table-cell tiny background light grey"></a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.ActivePRCount "repo.activity.active_prs_count_1" "repo.activity.active_prs_count_n") .Activity.ActivePRCount | Safe }} |
|
|
|
{{.i18n.TrN .Activity.ActivePRCount "repo.activity.active_prs_count_1" "repo.activity.active_prs_count_n" .Activity.ActivePRCount | Safe }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{if .Permission.CanRead $.UnitTypeIssues}} |
|
|
|
{{if .Permission.CanRead $.UnitTypeIssues}} |
|
|
@ -56,7 +56,7 @@ |
|
|
|
<a class="table-cell tiny background light grey"></a> |
|
|
|
<a class="table-cell tiny background light grey"></a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.ActiveIssueCount "repo.activity.active_issues_count_1" "repo.activity.active_issues_count_n") .Activity.ActiveIssueCount | Safe }} |
|
|
|
{{.i18n.TrN .Activity.ActiveIssueCount "repo.activity.active_issues_count_1" "repo.activity.active_issues_count_n" .Activity.ActiveIssueCount | Safe }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -64,21 +64,21 @@ |
|
|
|
{{if .Permission.CanRead $.UnitTypePullRequests}} |
|
|
|
{{if .Permission.CanRead $.UnitTypePullRequests}} |
|
|
|
<a href="#merged-pull-requests" class="ui attached segment text center"> |
|
|
|
<a href="#merged-pull-requests" class="ui attached segment text center"> |
|
|
|
<span class="text purple">{{svg "octicon-git-pull-request"}}</span> <strong>{{.Activity.MergedPRCount}}</strong><br> |
|
|
|
<span class="text purple">{{svg "octicon-git-pull-request"}}</span> <strong>{{.Activity.MergedPRCount}}</strong><br> |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.MergedPRCount "repo.activity.merged_prs_count_1" "repo.activity.merged_prs_count_n") }} |
|
|
|
{{.i18n.TrN .Activity.MergedPRCount "repo.activity.merged_prs_count_1" "repo.activity.merged_prs_count_n"}} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a href="#proposed-pull-requests" class="ui attached segment text center"> |
|
|
|
<a href="#proposed-pull-requests" class="ui attached segment text center"> |
|
|
|
<span class="text green">{{svg "octicon-git-branch"}}</span> <strong>{{.Activity.OpenedPRCount}}</strong><br> |
|
|
|
<span class="text green">{{svg "octicon-git-branch"}}</span> <strong>{{.Activity.OpenedPRCount}}</strong><br> |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.OpenedPRCount "repo.activity.opened_prs_count_1" "repo.activity.opened_prs_count_n") }} |
|
|
|
{{.i18n.TrN .Activity.OpenedPRCount "repo.activity.opened_prs_count_1" "repo.activity.opened_prs_count_n"}} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{if .Permission.CanRead $.UnitTypeIssues}} |
|
|
|
{{if .Permission.CanRead $.UnitTypeIssues}} |
|
|
|
<a href="#closed-issues" class="ui attached segment text center"> |
|
|
|
<a href="#closed-issues" class="ui attached segment text center"> |
|
|
|
<span class="text red">{{svg "octicon-issue-closed"}}</span> <strong>{{.Activity.ClosedIssueCount}}</strong><br> |
|
|
|
<span class="text red">{{svg "octicon-issue-closed"}}</span> <strong>{{.Activity.ClosedIssueCount}}</strong><br> |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.ClosedIssueCount "repo.activity.closed_issues_count_1" "repo.activity.closed_issues_count_n") }} |
|
|
|
{{.i18n.TrN .Activity.ClosedIssueCount "repo.activity.closed_issues_count_1" "repo.activity.closed_issues_count_n"}} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a href="#new-issues" class="ui attached segment text center"> |
|
|
|
<a href="#new-issues" class="ui attached segment text center"> |
|
|
|
<span class="text green">{{svg "octicon-issue-opened"}}</span> <strong>{{.Activity.OpenedIssueCount}}</strong><br> |
|
|
|
<span class="text green">{{svg "octicon-issue-opened"}}</span> <strong>{{.Activity.OpenedIssueCount}}</strong><br> |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.OpenedIssueCount "repo.activity.new_issues_count_1" "repo.activity.new_issues_count_n") }} |
|
|
|
{{.i18n.TrN .Activity.OpenedIssueCount "repo.activity.new_issues_count_1" "repo.activity.new_issues_count_n"}} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -94,19 +94,19 @@ |
|
|
|
<div class="ui attached segment horizontal segments"> |
|
|
|
<div class="ui attached segment horizontal segments"> |
|
|
|
<div class="ui attached segment text"> |
|
|
|
<div class="ui attached segment text"> |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_exclude_merges" }} |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_exclude_merges" }} |
|
|
|
<strong>{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.AuthorCount "repo.activity.git_stats_author_1" "repo.activity.git_stats_author_n") .Activity.Code.AuthorCount }}</strong> |
|
|
|
<strong>{{.i18n.TrN .Activity.Code.AuthorCount "repo.activity.git_stats_author_1" "repo.activity.git_stats_author_n" .Activity.Code.AuthorCount}}</strong> |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.AuthorCount "repo.activity.git_stats_pushed_1" "repo.activity.git_stats_pushed_n") }} |
|
|
|
{{.i18n.TrN .Activity.Code.AuthorCount "repo.activity.git_stats_pushed_1" "repo.activity.git_stats_pushed_n"}} |
|
|
|
<strong>{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.CommitCount "repo.activity.git_stats_commit_1" "repo.activity.git_stats_commit_n") .Activity.Code.CommitCount }}</strong> |
|
|
|
<strong>{{.i18n.TrN .Activity.Code.CommitCount "repo.activity.git_stats_commit_1" "repo.activity.git_stats_commit_n" .Activity.Code.CommitCount}}</strong> |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_push_to_branch" .Repository.DefaultBranch }} |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_push_to_branch" .Repository.DefaultBranch }} |
|
|
|
<strong>{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.CommitCountInAllBranches "repo.activity.git_stats_commit_1" "repo.activity.git_stats_commit_n") .Activity.Code.CommitCountInAllBranches }}</strong> |
|
|
|
<strong>{{.i18n.TrN .Activity.Code.CommitCountInAllBranches "repo.activity.git_stats_commit_1" "repo.activity.git_stats_commit_n" .Activity.Code.CommitCountInAllBranches}}</strong> |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_push_to_all_branches" }} |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_push_to_all_branches" }} |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_on_default_branch" .Repository.DefaultBranch }} |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_on_default_branch" .Repository.DefaultBranch }} |
|
|
|
<strong>{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.ChangedFiles "repo.activity.git_stats_file_1" "repo.activity.git_stats_file_n") .Activity.Code.ChangedFiles }}</strong> |
|
|
|
<strong>{{.i18n.TrN .Activity.Code.ChangedFiles "repo.activity.git_stats_file_1" "repo.activity.git_stats_file_n" .Activity.Code.ChangedFiles}}</strong> |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.ChangedFiles "repo.activity.git_stats_files_changed_1" "repo.activity.git_stats_files_changed_n") }} |
|
|
|
{{.i18n.TrN .Activity.Code.ChangedFiles "repo.activity.git_stats_files_changed_1" "repo.activity.git_stats_files_changed_n"}} |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_additions" }} |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_additions" }} |
|
|
|
<strong class="text green">{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.Additions "repo.activity.git_stats_addition_1" "repo.activity.git_stats_addition_n") .Activity.Code.Additions }}</strong> |
|
|
|
<strong class="text green">{{.i18n.TrN .Activity.Code.Additions "repo.activity.git_stats_addition_1" "repo.activity.git_stats_addition_n" .Activity.Code.Additions}}</strong> |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_and_deletions" }} |
|
|
|
{{.i18n.Tr "repo.activity.git_stats_and_deletions" }} |
|
|
|
<strong class="text red">{{.i18n.Tr (TrN .i18n.Lang .Activity.Code.Deletions "repo.activity.git_stats_deletion_1" "repo.activity.git_stats_deletion_n") .Activity.Code.Deletions }}</strong>. |
|
|
|
<strong class="text red">{{.i18n.TrN .Activity.Code.Deletions "repo.activity.git_stats_deletion_1" "repo.activity.git_stats_deletion_n" .Activity.Code.Deletions}}</strong>. |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ui attached segment"> |
|
|
|
<div class="ui attached segment"> |
|
|
|
<div id="repo-activity-top-authors-chart"></div> |
|
|
|
<div id="repo-activity-top-authors-chart"></div> |
|
|
@ -118,7 +118,10 @@ |
|
|
|
{{if gt .Activity.PublishedReleaseCount 0}} |
|
|
|
{{if gt .Activity.PublishedReleaseCount 0}} |
|
|
|
<h4 class="ui horizontal divider header" id="published-releases"> |
|
|
|
<h4 class="ui horizontal divider header" id="published-releases"> |
|
|
|
<span class="text">{{svg "octicon-tag"}}</span> |
|
|
|
<span class="text">{{svg "octicon-tag"}}</span> |
|
|
|
{{.i18n.Tr "repo.activity.title.releases_published_by" (.i18n.Tr (TrN .i18n.Lang .Activity.PublishedReleaseCount "repo.activity.title.releases_1" "repo.activity.title.releases_n") .Activity.PublishedReleaseCount) (.i18n.Tr (TrN .i18n.Lang .Activity.PublishedReleaseAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n") .Activity.PublishedReleaseAuthorCount) }} |
|
|
|
{{.i18n.Tr "repo.activity.title.releases_published_by" |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.PublishedReleaseCount "repo.activity.title.releases_1" "repo.activity.title.releases_n" .Activity.PublishedReleaseCount) |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.PublishedReleaseAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.PublishedReleaseAuthorCount) |
|
|
|
|
|
|
|
}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="list"> |
|
|
|
<div class="list"> |
|
|
|
{{range .Activity.PublishedReleases}} |
|
|
|
{{range .Activity.PublishedReleases}} |
|
|
@ -137,7 +140,10 @@ |
|
|
|
{{if gt .Activity.MergedPRCount 0}} |
|
|
|
{{if gt .Activity.MergedPRCount 0}} |
|
|
|
<h4 class="ui horizontal divider header" id="merged-pull-requests"> |
|
|
|
<h4 class="ui horizontal divider header" id="merged-pull-requests"> |
|
|
|
<span class="text">{{svg "octicon-git-pull-request"}}</span> |
|
|
|
<span class="text">{{svg "octicon-git-pull-request"}}</span> |
|
|
|
{{.i18n.Tr "repo.activity.title.prs_merged_by" (.i18n.Tr (TrN .i18n.Lang .Activity.MergedPRCount "repo.activity.title.prs_1" "repo.activity.title.prs_n") .Activity.MergedPRCount) (.i18n.Tr (TrN .i18n.Lang .Activity.MergedPRAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n") .Activity.MergedPRAuthorCount) }} |
|
|
|
{{.i18n.Tr "repo.activity.title.prs_merged_by" |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.MergedPRCount "repo.activity.title.prs_1" "repo.activity.title.prs_n" .Activity.MergedPRCount) |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.MergedPRAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.MergedPRAuthorCount) |
|
|
|
|
|
|
|
}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="list"> |
|
|
|
<div class="list"> |
|
|
|
{{range .Activity.MergedPRs}} |
|
|
|
{{range .Activity.MergedPRs}} |
|
|
@ -153,7 +159,10 @@ |
|
|
|
{{if gt .Activity.OpenedPRCount 0}} |
|
|
|
{{if gt .Activity.OpenedPRCount 0}} |
|
|
|
<h4 class="ui horizontal divider header" id="proposed-pull-requests"> |
|
|
|
<h4 class="ui horizontal divider header" id="proposed-pull-requests"> |
|
|
|
<span class="text">{{svg "octicon-git-branch"}}</span> |
|
|
|
<span class="text">{{svg "octicon-git-branch"}}</span> |
|
|
|
{{.i18n.Tr "repo.activity.title.prs_opened_by" (.i18n.Tr (TrN .i18n.Lang .Activity.OpenedPRCount "repo.activity.title.prs_1" "repo.activity.title.prs_n") .Activity.OpenedPRCount) (.i18n.Tr (TrN .i18n.Lang .Activity.OpenedPRAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n") .Activity.OpenedPRAuthorCount) }} |
|
|
|
{{.i18n.Tr "repo.activity.title.prs_opened_by" |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.OpenedPRCount "repo.activity.title.prs_1" "repo.activity.title.prs_n" .Activity.OpenedPRCount) |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.OpenedPRAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.OpenedPRAuthorCount) |
|
|
|
|
|
|
|
}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="list"> |
|
|
|
<div class="list"> |
|
|
|
{{range .Activity.OpenedPRs}} |
|
|
|
{{range .Activity.OpenedPRs}} |
|
|
@ -169,7 +178,10 @@ |
|
|
|
{{if gt .Activity.ClosedIssueCount 0}} |
|
|
|
{{if gt .Activity.ClosedIssueCount 0}} |
|
|
|
<h4 class="ui horizontal divider header" id="closed-issues"> |
|
|
|
<h4 class="ui horizontal divider header" id="closed-issues"> |
|
|
|
<span class="text">{{svg "octicon-issue-closed"}}</span> |
|
|
|
<span class="text">{{svg "octicon-issue-closed"}}</span> |
|
|
|
{{.i18n.Tr "repo.activity.title.issues_closed_from" (.i18n.Tr (TrN .i18n.Lang .Activity.ClosedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n") .Activity.ClosedIssueCount) (.i18n.Tr (TrN .i18n.Lang .Activity.ClosedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n") .Activity.ClosedIssueAuthorCount) }} |
|
|
|
{{.i18n.Tr "repo.activity.title.issues_closed_from" |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.ClosedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n" .Activity.ClosedIssueCount) |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.ClosedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.ClosedIssueAuthorCount) |
|
|
|
|
|
|
|
}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="list"> |
|
|
|
<div class="list"> |
|
|
|
{{range .Activity.ClosedIssues}} |
|
|
|
{{range .Activity.ClosedIssues}} |
|
|
@ -185,7 +197,10 @@ |
|
|
|
{{if gt .Activity.OpenedIssueCount 0}} |
|
|
|
{{if gt .Activity.OpenedIssueCount 0}} |
|
|
|
<h4 class="ui horizontal divider header" id="new-issues"> |
|
|
|
<h4 class="ui horizontal divider header" id="new-issues"> |
|
|
|
<span class="text">{{svg "octicon-issue-opened"}}</span> |
|
|
|
<span class="text">{{svg "octicon-issue-opened"}}</span> |
|
|
|
{{.i18n.Tr "repo.activity.title.issues_created_by" (.i18n.Tr (TrN .i18n.Lang .Activity.OpenedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n") .Activity.OpenedIssueCount) (.i18n.Tr (TrN .i18n.Lang .Activity.OpenedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n") .Activity.OpenedIssueAuthorCount) }} |
|
|
|
{{.i18n.Tr "repo.activity.title.issues_created_by" |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.OpenedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n" .Activity.OpenedIssueCount) |
|
|
|
|
|
|
|
(.i18n.TrN .Activity.OpenedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n" .Activity.OpenedIssueAuthorCount) |
|
|
|
|
|
|
|
}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="list"> |
|
|
|
<div class="list"> |
|
|
|
{{range .Activity.OpenedIssues}} |
|
|
|
{{range .Activity.OpenedIssues}} |
|
|
@ -201,7 +216,7 @@ |
|
|
|
{{if gt .Activity.UnresolvedIssueCount 0}} |
|
|
|
{{if gt .Activity.UnresolvedIssueCount 0}} |
|
|
|
<h4 class="ui horizontal divider header" id="unresolved-conversations"> |
|
|
|
<h4 class="ui horizontal divider header" id="unresolved-conversations"> |
|
|
|
<span class="text">{{svg "octicon-comment-discussion"}}</span> |
|
|
|
<span class="text">{{svg "octicon-comment-discussion"}}</span> |
|
|
|
{{.i18n.Tr (TrN .i18n.Lang .Activity.UnresolvedIssueCount "repo.activity.title.unresolved_conv_1" "repo.activity.title.unresolved_conv_n") .Activity.UnresolvedIssueCount }} |
|
|
|
{{.i18n.TrN .Activity.UnresolvedIssueCount "repo.activity.title.unresolved_conv_1" "repo.activity.title.unresolved_conv_n" .Activity.UnresolvedIssueCount}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="text center desc"> |
|
|
|
<div class="text center desc"> |
|
|
|
{{.i18n.Tr "repo.activity.unresolved_conv_desc"}} |
|
|
|
{{.i18n.Tr "repo.activity.unresolved_conv_desc"}} |
|
|
|