diff options
author | silverwind <me@silverwind.io> | 2023-10-08 01:26:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-07 23:26:27 +0000 |
commit | 3b139fa3a37b2ab42d82370d6835b2f7d7822b1d (patch) | |
tree | b71f4112a32030fbb04d03cc165eaa3aa98972da /templates | |
parent | e51f96829f78d2dbf3633b036c9d9a49afd28fe4 (diff) | |
download | gitea-3b139fa3a37b2ab42d82370d6835b2f7d7822b1d.tar.gz gitea-3b139fa3a37b2ab42d82370d6835b2f7d7822b1d.zip |
Improve feed icons and feed merge text color (#27498)
1. Improve various feed icons
2. Fix merge message color
<img width="763" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/3f5bcb23-6d90-4c63-85f2-46bd7e1c96d6">
<img width="769" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/466c37b4-e2f4-42bb-922d-b86596cdc6d0">
Fixes: https://github.com/go-gitea/gitea/issues/27495
Continues: https://github.com/go-gitea/gitea/pull/27356
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 08b3377aab..c986dcfb44 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -109,12 +109,12 @@ <div class="markup gt-font-14">{{RenderMarkdownToHtml ctx $comment}}</div> {{end}} {{else if .GetOpType.InActions "merge_pull_request"}} - <div class="flex-item-body">{{index .GetIssueInfos 1}}</div> + <div class="flex-item-body text black">{{index .GetIssueInfos 1}}</div> {{else if .GetOpType.InActions "close_issue" "reopen_issue" "close_pull_request" "reopen_pull_request"}} <span class="text truncate issue title">{{(.GetIssueTitle ctx) | RenderEmoji $.Context | RenderCodeBlock}}</span> {{else if .GetOpType.InActions "pull_review_dismissed"}} - <div class="flex-item-body">{{ctx.Locale.Tr "action.review_dismissed_reason"}}</div> - <div class="flex-item-body">{{index .GetIssueInfos 2 | RenderEmoji $.Context}}</div> + <div class="flex-item-body text black">{{ctx.Locale.Tr "action.review_dismissed_reason"}}</div> + <div class="flex-item-body text black">{{index .GetIssueInfos 2 | RenderEmoji $.Context}}</div> {{end}} </div> <div class="flex-item-trailing"> |