gitea/templates
silverwind 7d1aed83f4
Disable the 'Add File' button when not able to edit repo (#21503)
Previously, the button would render a dropdown with zero items when
`.CanEnableEditor` was false (for example on a mirror repo). Now it
disables the button instead which is better UX.

<img width="310" alt="image"
src="https://user-images.githubusercontent.com/115237/196546655-7262070d-dd8f-4fbe-ad5c-ecb443a9caef.png">
<img width="292" alt="image"
src="https://user-images.githubusercontent.com/115237/196546694-51ef5792-16d4-463d-aae8-7ef22dba6bb4.png">

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-10-19 16:08:33 +08:00
..
admin Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
api/packages/pypi
base Remove useless appVer from JS window.config (#21445) 2022-10-14 01:16:27 +08:00
code Run make fmt (#21437) 2022-10-13 21:33:54 -04:00
custom
explore Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
mail
org Add user/organization code search (#19977) 2022-10-11 00:12:03 +01:00
package Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
repo Disable the 'Add File' button when not able to edit repo (#21503) 2022-10-19 16:08:33 +08:00
shared Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
status
swagger
user Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
home.tmpl
install.tmpl
post-install.tmpl