0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-16 18:50:15 +01:00
forgejo/templates
caicandong 13359581df
refactor improve NoBetterThan ()
- The `NoBetterThan` function can only handle comparisons between
"pending," "success," "error," and "failure." For any other comparison,
we directly return false. This prevents logic errors like the one in
.
- The callers of the `NoBetterThan` function should also avoid making
incomparable calls.

---------

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: puni9869 <80308335+puni9869@users.noreply.github.com>
2023-07-26 08:52:07 +00:00
..
admin
api/packages/pypi
base
code
custom
devtest Make "cancel" buttons have proper type in modal forms () 2023-07-03 14:04:50 +08:00
explore
mail
org
package
projects Fix margin on the new/edit project page. () 2023-07-16 14:53:54 +00:00
repo
shared
status
swagger refactor improve NoBetterThan () 2023-07-26 08:52:07 +00:00
user
home.tmpl
install.tmpl
post-install.tmpl Remove incorrect element ID on "post-install" page () 2023-06-08 12:23:39 +08:00