You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/templates
Hester Gong ac64c82974
Allow new file and edit file preview if it has editable extension (#23624)
Close #23579 
Inspired by
[idea](https://github.com/go-gitea/gitea/issues/23579#issuecomment-1475429247)
from @brechtvl
In this PR, the behavior is when extension switches from writatble to
not, preview will hide, and vice versa.

demo:

https://user-images.githubusercontent.com/17645053/226786119-d20063da-8763-41ce-9b00-ae34929120e1.mov

---------

Co-authored-by: silverwind <me@silverwind.io>
1 year ago
..
admin Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
api/packages/pypi Add Package Registry (#16510) 2 years ago
base Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
code Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
explore Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
mail Revert relative links to absolute links in mail templates (#23267) 1 year ago
org Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
package Convert `<div class="button">` to `<button class="button">` (#23337) 1 year ago
projects Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
repo Allow new file and edit file preview if it has editable extension (#23624) 1 year ago
shared Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
status Move helpers to be prefixed with `gt-` (#22879) 1 year ago
swagger Editor preview support for external renderers (#23333) 1 year ago
user Remove row clicking from notification table (#22695) 1 year ago
home.tmpl Add main landmark to templates and adjust titles (#22670) 1 year ago
install.tmpl Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
post-install.tmpl Fix various bugs for "install" page (#23194) 1 year ago