aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org
diff options
context:
space:
mode:
authorCherrg <michael@gnehr.de>2019-07-12 19:44:28 +0200
committerzeripath <art27@cantab.net>2019-07-12 18:44:28 +0100
commit0018d5603e3d46ed4cd53ed1502f9116dffadc23 (patch)
treef256f315fb58ced4bb09aba0aa32d96e02d5479b /templates/org
parent2a1ec31988ded9950b4555a494820acf189fbc37 (diff)
downloadgitea-0018d5603e3d46ed4cd53ed1502f9116dffadc23.tar.gz
gitea-0018d5603e3d46ed4cd53ed1502f9116dffadc23.zip
create class for inlie positioned lists (#7393)
replace org create alignment hack fix #6464 Signed-off-by: Michael Gnehr <michael@gnehr.de>
Diffstat (limited to 'templates/org')
-rw-r--r--templates/org/create.tmpl30
1 files changed, 13 insertions, 17 deletions
diff --git a/templates/org/create.tmpl b/templates/org/create.tmpl
index a64c415233..5b6080c227 100644
--- a/templates/org/create.tmpl
+++ b/templates/org/create.tmpl
@@ -17,23 +17,19 @@
<div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
<span class="inline required field"><label for="visibility">{{.i18n.Tr "org.settings.visibility"}}</label></span>
- <div class="ui radio checkbox">
- <input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="0" {{if .DefaultOrgVisibilityMode.IsPublic}}checked{{end}}/>
- <label>{{.i18n.Tr "org.settings.visibility.public"}}</label>
- </div>
- </div>
- <div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
- <label>&nbsp;</label>
- <div class="ui radio checkbox">
- <input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="1" {{if .DefaultOrgVisibilityMode.IsLimited}}checked{{end}}/>
- <label>{{.i18n.Tr "org.settings.visibility.limited"}}</label>
- </div>
- </div>
- <div class="inline field {{if .Err_OrgVisibility}}error{{end}}">
- <label>&nbsp;</label>
- <div class="ui radio checkbox">
- <input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="2" {{if .DefaultOrgVisibilityMode.IsPrivate}}checked{{end}}/>
- <label>{{.i18n.Tr "org.settings.visibility.private"}}</label>
+ <div class="inline-grouped-list">
+ <div class="ui radio checkbox">
+ <input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="0" {{if .DefaultOrgVisibilityMode.IsPublic}}checked{{end}}/>
+ <label>{{.i18n.Tr "org.settings.visibility.public"}}</label>
+ </div>
+ <div class="ui radio checkbox">
+ <input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="1" {{if .DefaultOrgVisibilityMode.IsLimited}}checked{{end}}/>
+ <label>{{.i18n.Tr "org.settings.visibility.limited"}}</label>
+ </div>
+ <div class="ui radio checkbox">
+ <input class="hidden enable-system-radio" tabindex="0" name="visibility" type="radio" value="2" {{if .DefaultOrgVisibilityMode.IsPrivate}}checked{{end}}/>
+ <label>{{.i18n.Tr "org.settings.visibility.private"}}</label>
+ </div>
</div>
</div>
<div class="inline field">