mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-02 07:21:02 +00:00
Added alt's to <img>
This commit is contained in:
parent
b1590068a7
commit
c9b72d5b27
10 changed files with 24 additions and 24 deletions
|
|
@ -21,7 +21,7 @@
|
|||
{{else if not .IsTextFile}}
|
||||
<div class="view-raw">
|
||||
{{if .IsImageFile}}
|
||||
<img src="{{$.RawFileLink}}">
|
||||
<img src="{{$.RawFileLink}}" alt="">
|
||||
{{else if .IsVideoFile}}
|
||||
<video controls src="{{$.RawFileLink}}">
|
||||
<strong>{{ctx.Locale.Tr "repo.video_not_supported_in_browser"}}</strong>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue