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) {
228228 ctx .Data ["Licenses" ] = repo_module .Licenses
229229 ctx .Data ["Readmes" ] = repo_module .Readmes
230230
231+ // the logic is still buggy, the complete fix is in 1.24
232+ ctx .Data ["IsForcedPrivate" ] = setting .Repository .ForcePrivate
231233 ctx .Data ["CanCreateRepo" ] = ctx .Doer .CanCreateRepo ()
232234 ctx .Data ["MaxCreationLimit" ] = ctx .Doer .MaxCreationLimit ()
235+ ctx .Data ["SupportedObjectFormats" ] = git .DefaultFeatures ().SupportedObjectFormats
236+ ctx .Data ["DefaultObjectFormat" ] = git .Sha1ObjectFormat
233237
234238 ctxUser := checkContextUser (ctx , form .UID )
235239 if ctx .Written () {
Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ textarea:focus,
483483 margin-bottom : 1em ;
484484 width : 100% ;
485485 }
486- .new .org .ui .form .field input {
486+ .new .org .ui .form .field input : not ([ type = "checkbox" ] , [ type = "radio" ]) {
487487 width : 100% !important ;
488488 }
489489}
You can’t perform that action at this time.
0 commit comments