File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -228,8 +228,12 @@ func CreatePost(ctx *context.Context) {
228
228
ctx .Data ["Licenses" ] = repo_module .Licenses
229
229
ctx .Data ["Readmes" ] = repo_module .Readmes
230
230
231
+ // the logic is still buggy, the complete fix is in 1.24
232
+ ctx .Data ["IsForcedPrivate" ] = setting .Repository .ForcePrivate
231
233
ctx .Data ["CanCreateRepo" ] = ctx .Doer .CanCreateRepo ()
232
234
ctx .Data ["MaxCreationLimit" ] = ctx .Doer .MaxCreationLimit ()
235
+ ctx .Data ["SupportedObjectFormats" ] = git .DefaultFeatures ().SupportedObjectFormats
236
+ ctx .Data ["DefaultObjectFormat" ] = git .Sha1ObjectFormat
233
237
234
238
ctxUser := checkContextUser (ctx , form .UID )
235
239
if ctx .Written () {
Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ textarea:focus,
483
483
margin-bottom : 1em ;
484
484
width : 100% ;
485
485
}
486
- .new .org .ui .form .field input {
486
+ .new .org .ui .form .field input : not ([ type = "checkbox" ] , [ type = "radio" ]) {
487
487
width : 100% !important ;
488
488
}
489
489
}
You can’t perform that action at this time.
0 commit comments