go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.19k stars 5.5k forks source link

[Docs] Document how to modify the default issue template #14383

Open lyz-code opened 3 years ago

lyz-code commented 3 years ago

Given a repository with multiple issue templates, when creating a new issue the choose page is shown with "Default" issue template in addition to the desired issue templates .

I haven't found in the docs how to edit or delete that template. Is it an option?

lonix1 commented 3 years ago

Did you figure it out yet?

I also wonder about this. I'd like to remove it.

lyz-code commented 3 years ago

Nope @lonix1, but as it shows the last it's not a big deal, I have 4 other issue types before that, so users are not using the Default much

lonix1 commented 3 years ago

Yeah for now I just hide it using userstyles. But would be nice to actually remove it.

lcnittl commented 3 years ago

Yeah for now I just hide it using userstyles. But would be nice to actually remove it.

May I ask you exactly this is done?

I totally agree that there should be an option to remove/disable it. I would apparently think that it should be removed by default as soon as custom templates are added.

Cheers!

lonix1 commented 3 years ago

@lcnittl Just get a userstyles extension for your browser, e.g. stylus or stylish.

Then write a custom stylesheet for the gitea site and hide that DOM item .selector { display: none !important; }.

karolyi commented 1 year ago

Chiming in here, it would be nice to be able to delete or disable the "default issue template" on a per project basis.

karolyi commented 1 year ago

Seemingly, some progress is being made on this: #20956

witten commented 1 year ago

The #20956 solution doesn't appear to work for this. Even when setting blank_issues_enabled in issue config, the default issue template is still showing up as an option for users to select. Anyone have any ideas?