@(repository: gitbucket.core.service.RepositoryService.RepositoryInfo, info: Option[Any])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main("Danger Zone", Some(repository)){ @gitbucket.core.html.menu("settings", repository){ @gitbucket.core.settings.html.menu("danger", repository){ @gitbucket.core.helper.html.information(info)
Danger Zone
Garbage collection
Run garbage collection for this git repository immediately.
@if(context.settings.repositoryOperation.rename || context.loginAccount.get.isAdmin){
Rename repository
Rename this repository. This will make the current URL unavailable.
} @if(context.settings.repositoryOperation.transfer || context.loginAccount.get.isAdmin){
Transfer Ownership
Transfer this repository to another user or to group.
@gitbucket.core.helper.html.account("newOwner", 200, true, true)
} @if(context.settings.repositoryOperation.delete || context.loginAccount.get.isAdmin){
Delete repository
Permanently delete this repository. This cannot be undone.
}
} } }