[FEAT] Visual separation between types of attachments

- Add a visual (but still semantic way) separation between Forgejo's
generated attachments and the user's uploaded ones.
- The styling was first done by `ul` element, but is moved to the
individual list items to have better control over them.
- Add tooltip explaining the attachment was generated by Forgejo.
- Remove the tooltip of the other attachments and 'simplify' them into a text.
- Resolves #2893

Co-authored-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
Gusted 2024-03-30 12:15:39 +01:00
parent 68e900822b
commit 20a3597220
No known key found for this signature in database
GPG key ID: FD821B732837125F
4 changed files with 31 additions and 16 deletions

View file

@ -2632,11 +2632,12 @@ release.tag_name_invalid = The tag name is not valid.
release.tag_name_protected = The tag name is protected.
release.tag_already_exist = This tag name already exists.
release.downloads = Downloads
release.download_count = Downloads: %s
release.download_count = %s downloads
release.add_tag_msg = Use the title and content of release as tag message.
release.add_tag = Create Tag Only
release.releases_for = Releases for %s
release.tags_for = Tags for %s
release.system_generated = This attachment is automatically generated.
branch.name = Branch name
branch.already_exists = A branch named "%s" already exists.