The repo items in explore page have duplicate icon #11837

Closed
opened 2025-11-02 09:49:21 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @lng2020 on GitHub (Oct 12, 2023).

Description

As title.
The problem is
c37f95fc56/templates/explore/repo_list.tmpl (L13-L40)
and
c37f95fc56/templates/repo/icon.tmpl (L1-L14)
have duplicate (but not same) check.

Screenshots

image

Gitea Version

latest codebase

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

none

Originally created by @lng2020 on GitHub (Oct 12, 2023). ### Description As title. The problem is https://github.com/go-gitea/gitea/blob/c37f95fc56fa3fc8f51610af6915ac39839d7d19/templates/explore/repo_list.tmpl#L13-L40 and https://github.com/go-gitea/gitea/blob/c37f95fc56fa3fc8f51610af6915ac39839d7d19/templates/repo/icon.tmpl#L1-L14 have duplicate (but not same) check. ### Screenshots <img width="319" alt="image" src="https://github.com/go-gitea/gitea/assets/70063547/0c78eadf-6e00-4ebf-9d82-886b78124da9"> ### Gitea Version latest codebase ### Can you reproduce the bug on the Gitea demo site? Yes ### Operating System _No response_ ### Browser Version none
GiteaMirror added the skip-changelogtopic/uitype/bug labels 2025-11-02 09:49:21 -06:00
Author
Owner

@lng2020 commented on GitHub (Oct 12, 2023):

cc @denyskon, the icon is introduced by your pr
what's your opinion about this icon? IMO, I think your icon is better, probably we should remove the label behind the repo name.

@lng2020 commented on GitHub (Oct 12, 2023): cc @denyskon, the icon is introduced by your [pr](https://github.com/go-gitea/gitea/pull/25790) what's your opinion about this icon? IMO, I think your icon is better, probably we should remove the label behind the repo name.
Author
Owner

@hiifong commented on GitHub (Oct 12, 2023):

The same thing happens with other pages.
image
image

@hiifong commented on GitHub (Oct 12, 2023): The same thing happens with other pages. ![image](https://github.com/go-gitea/gitea/assets/89133723/3e2352ef-2cdb-420a-8455-d162c229b5d5) ![image](https://github.com/go-gitea/gitea/assets/89133723/ebc8b7d9-0732-4e2c-a8b8-573523298d53)
Author
Owner

@denyskon commented on GitHub (Oct 12, 2023):

I think I know the reason for it, I'll check....

@denyskon commented on GitHub (Oct 12, 2023): I think I know the reason for it, I'll check....
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11837