Skip to content

Display branch name in "branch delete" modal #5630

@MarcMogdanz

Description

@MarcMogdanz

If you go to the list of branches of a repository and want to delete one, a modal will popup and ask you to confirm you want to delete this branch. In the template file is already a <span class="branch-name"></span> but without any content.

I think it would be useful to display the name of the branch in the modal so you are 100% sure you clicked on the right branch before you delete it.

It is currently being handled like this if you delete a branch after a pull request was merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions