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
wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf d4e35b9dc6
Hide 'New Project board' button for users that are not signed in (#12547)
* hide: 'New Project board' button

* there is no reason to show the button for users that are not signed in

* update template: specifies the condition together with another one

as per lafriks' suggestion in the comment

* chore: add proper user authorization check

* chore: also hide button if repo is archived

* chore: show project board edit/delete menu to authorized users only

* chore: drop the redundant IsSigned check

* CanWriteIssues and CanWritePulls implies (and requires) signed in user

* Add CanWriteProjects and properly assert permissions

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
admin Show 2FA info on Admin Pannel: Users List (#12515) 4 years ago
base Kanban board (#8346) 4 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Update Octicons to v10 (#12240) 4 years ago
mail Fix nil pointer in default issue mail template (#11862) 4 years ago
org Show 2FA info on Admin Pannel: Users List (#12515) 4 years ago
pwa Move serviceworker to workbox and fix SSE interference (#11538) 4 years ago
repo Hide 'New Project board' button for users that are not signed in (#12547) 4 years ago
status Make error pages translatable (#11163) 4 years ago
swagger Kanban board (#8346) 4 years ago
user Add placeholder text for "Add SSH/GPG Key" forms (#12533) 4 years ago
home.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
install.tmpl Change default charset for MySQL on install to utf8mb4 (#10989) 4 years ago