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
silverwind 335e918b11
Clean up and fix clone button script (#20415)
The button 'primary' class needs to be set in a synchronous script to prevent flicker of the button which was regressed recently, fixed that.

Additionally, reduced the two script tags to just one, the previous scripts were actually initializing the buttons thrice on the empty repo page, now it only initializes once. Finally, removed duplicate code and re-used the inline function in the update code as well.

I had to split out the script into a separate template as on the empty repo page, the script needs access to the clone URL span in the example text, which is rendered below the clone buttons, so buttons and script could not be combined.
2 years ago
..
admin Add option to purge users (#18064) 2 years ago
api/packages/pypi Add Package Registry (#16510) 2 years ago
base Add labels to two buttons that were missing them (#20419) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Add tooltip to repo icons in explore page (#20241) 2 years ago
mail Add disable download source configuration (#20548) 2 years ago
org Fix org members bug (#20489) 2 years ago
package Show hint to link package to repo when viewing empty repo package list (#20504) 2 years ago
repo Clean up and fix clone button script (#20415) 2 years ago
shared Display project in issue list (#20434) 2 years ago
status Refactor `i18n` to `locale` (#20153) 2 years ago
swagger Add new API endpoints for push mirrors management (#19841) 2 years ago
user Add missing Tabs on organisation/package view (Frontport #20539) (#20540) 2 years ago
home.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
install.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago