Skip to content

Commit 8172210

Browse files
committed
fix user not being able to create repository in organization
1 parent c7b85f7 commit 8172210

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

templates/repo/create.tmpl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
<div class="ui attached segment">
88
{{template "base/alert" .}}
99
{{template "repo/create_helper" .}}
10-
11-
{{if not .CanCreateRepo}}
12-
<div class="ui negative message">
13-
<p>{{ctx.Locale.TrN .MaxCreationLimit "repo.form.reach_limit_of_creation_1" "repo.form.reach_limit_of_creation_n" .MaxCreationLimit}}</p>
14-
</div>
15-
{{end}}
1610
<form class="ui form left-right-form new-repo-form" action="{{.Link}}" method="post">
1711
{{.CsrfTokenHtml}}
1812
<div class="inline required field {{if .Err_Owner}}error{{end}}">
@@ -212,7 +206,7 @@
212206
<br>
213207
<div class="inline field">
214208
<label></label>
215-
<button class="ui primary button{{if not .CanCreateRepo}} disabled{{end}}">
209+
<button class="ui primary button">
216210
{{ctx.Locale.Tr "repo.create_repo"}}
217211
</button>
218212
</div>

0 commit comments

Comments
 (0)