diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl index e74c37ab98..72e2581696 100644 --- a/templates/shared/user/profile_big_avatar.tmpl +++ b/templates/shared/user/profile_big_avatar.tmpl @@ -22,10 +22,7 @@ {{end}}
- {{svg "octicon-people" 18 "tw-mr-1"}}{{ctx.Locale.TrN .NumFollowers "user.followers_one" "user.followers_few" .NumFollowers}} · {{ctx.Locale.TrN .NumFollowing "user.following_one" "user.following_few" .NumFollowing}} - {{if and .EnableFeed (or .IsAdmin (eq .SignedUserID .ContextUser.ID) (not .ContextUser.KeepActivityPrivate))}} - {{svg "octicon-rss" 18}} - {{end}} + {{svg "octicon-people" 20 "tw-mr-2"}}{{ctx.Locale.TrN .NumFollowers "user.followers_one" "user.followers_few" .NumFollowers}} · {{ctx.Locale.TrN .NumFollowing "user.following_one" "user.following_few" .NumFollowing}}
diff --git a/templates/user/heatmap.tmpl b/templates/user/heatmap.tmpl index 05403e34e3..9b1a05fd5a 100644 --- a/templates/user/heatmap.tmpl +++ b/templates/user/heatmap.tmpl @@ -8,6 +8,11 @@ data-locale-contributions-few="{{ctx.Locale.Tr "heatmap.contributions_few"}}" data-locale-more="{{ctx.Locale.Tr "heatmap.more"}}" data-locale-less="{{ctx.Locale.Tr "heatmap.less"}}" + data-locale-rss-feed="{{ctx.Locale.Tr "rss_feed"}}" + {{if and .EnableFeed (or .IsAdmin (eq .SignedUserID .ContextUser.ID) (not .ContextUser.KeepActivityPrivate))}} + data-rss-target="{{.ContextUser.HomeLink}}.rss" + {{end}} >
+ {{end}} diff --git a/web_src/css/features/heatmap.css b/web_src/css/features/heatmap.css index c064590c46..d5472bed92 100644 --- a/web_src/css/features/heatmap.css +++ b/web_src/css/features/heatmap.css @@ -56,3 +56,7 @@ bottom: -4px; } } + +.vch__legend-right { + margin-right: 1em; +} diff --git a/web_src/js/components/ActivityHeatmap.vue b/web_src/js/components/ActivityHeatmap.vue index be0841e831..dffad7926d 100644 --- a/web_src/js/components/ActivityHeatmap.vue +++ b/web_src/js/components/ActivityHeatmap.vue @@ -12,6 +12,10 @@ export default { type: Object, default: () => {}, }, + extra: { + type: Object, + default: () => {}, + }, }, data: () => ({ colorRange: [ @@ -54,7 +58,11 @@ export default { };