mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
changed horizontal line structure which means that no unnecessary line is displayed if the delete button is missing
This commit is contained in:
@@ -121,6 +121,7 @@ class RepositoryConfig extends React.Component<Props, State> {
|
|||||||
if (!(loadingBranches || loadingDefaultBranch)) {
|
if (!(loadingBranches || loadingDefaultBranch)) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
<hr />
|
||||||
<Subtitle subtitle={t("scm-git-plugin.repo-config.title")}/>
|
<Subtitle subtitle={t("scm-git-plugin.repo-config.title")}/>
|
||||||
{this.renderBranchChangedNotification()}
|
{this.renderBranchChangedNotification()}
|
||||||
<form onSubmit={this.submit}>
|
<form onSubmit={this.submit}>
|
||||||
@@ -133,7 +134,6 @@ class RepositoryConfig extends React.Component<Props, State> {
|
|||||||
/>
|
/>
|
||||||
{ submitButton }
|
{ submitButton }
|
||||||
</form>
|
</form>
|
||||||
<hr />
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ class DeleteRepo extends React.Component<Props> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
<hr />
|
||||||
<Subtitle subtitle={t("deleteRepo.subtitle")} />
|
<Subtitle subtitle={t("deleteRepo.subtitle")} />
|
||||||
<ErrorNotification error={error} />
|
<ErrorNotification error={error} />
|
||||||
<div className="columns">
|
<div className="columns">
|
||||||
|
|||||||
@@ -70,7 +70,6 @@ class EditRepo extends React.Component<Props> {
|
|||||||
this.props.modifyRepo(repo, this.repoModified);
|
this.props.modifyRepo(repo, this.repoModified);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<hr />
|
|
||||||
<ExtensionPoint
|
<ExtensionPoint
|
||||||
name="repo-config.route"
|
name="repo-config.route"
|
||||||
props={extensionProps}
|
props={extensionProps}
|
||||||
|
|||||||
Reference in New Issue
Block a user