2024-03-24 23:53:38 +05:30
|
|
|
<div class="sspi field {{if not (eq .type 7)}}tw-hidden{{end}}">
|
2019-11-23 05:03:31 +05:30
|
|
|
<div class="field">
|
|
|
|
<div class="ui checkbox">
|
2023-09-25 14:26:50 +05:30
|
|
|
<label for="sspi_auto_create_users"><strong>{{ctx.Locale.Tr "admin.auths.sspi_auto_create_users"}}</strong></label>
|
2019-11-23 05:03:31 +05:30
|
|
|
<input id="sspi_auto_create_users" name="sspi_auto_create_users" class="sspi-auto-create-users" type="checkbox" {{if .SSPIAutoCreateUsers}}checked{{end}}>
|
2023-09-25 14:26:50 +05:30
|
|
|
<p class="help">{{ctx.Locale.Tr "admin.auths.sspi_auto_create_users_helper"}}</p>
|
2019-11-23 05:03:31 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<div class="ui checkbox">
|
2023-09-25 14:26:50 +05:30
|
|
|
<label for="sspi_auto_activate_users"><strong>{{ctx.Locale.Tr "admin.auths.sspi_auto_activate_users"}}</strong></label>
|
2019-11-23 05:03:31 +05:30
|
|
|
<input id="sspi_auto_activate_users" name="sspi_auto_activate_users" class="sspi-auto-activate-users" type="checkbox" {{if .SSPIAutoActivateUsers}}checked{{end}}>
|
2023-09-25 14:26:50 +05:30
|
|
|
<p class="help">{{ctx.Locale.Tr "admin.auths.sspi_auto_activate_users_helper"}}</p>
|
2019-11-23 05:03:31 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<div class="ui checkbox">
|
2023-09-25 14:26:50 +05:30
|
|
|
<label for="sspi_strip_domain_names"><strong>{{ctx.Locale.Tr "admin.auths.sspi_strip_domain_names"}}</strong></label>
|
2019-11-23 05:03:31 +05:30
|
|
|
<input id="sspi_strip_domain_names" name="sspi_strip_domain_names" class="sspi-strip-domain-names" type="checkbox" {{if .SSPIStripDomainNames}}checked{{end}}>
|
2023-09-25 14:26:50 +05:30
|
|
|
<p class="help">{{ctx.Locale.Tr "admin.auths.sspi_strip_domain_names_helper"}}</p>
|
2019-11-23 05:03:31 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="required field">
|
2023-09-25 14:26:50 +05:30
|
|
|
<label for="sspi_separator_replacement">{{ctx.Locale.Tr "admin.auths.sspi_separator_replacement"}}</label>
|
2019-11-23 05:03:31 +05:30
|
|
|
<input id="sspi_separator_replacement" name="sspi_separator_replacement" value="{{.SSPISeparatorReplacement}}">
|
2023-09-25 14:26:50 +05:30
|
|
|
<p class="help">{{ctx.Locale.Tr "admin.auths.sspi_separator_replacement_helper"}}</p>
|
2019-11-23 05:03:31 +05:30
|
|
|
</div>
|
|
|
|
<div class="field">
|
2023-09-25 14:26:50 +05:30
|
|
|
<label for="sspi_default_language">{{ctx.Locale.Tr "admin.auths.sspi_default_language"}}</label>
|
2019-11-23 05:03:31 +05:30
|
|
|
<div class="ui language selection dropdown" id="sspi_default_language">
|
|
|
|
<input name="sspi_default_language" type="hidden" value="{{.SSPIDefaultLanguage}}">
|
2020-11-01 03:45:11 +05:30
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
2019-11-23 05:03:31 +05:30
|
|
|
<div class="text">{{range .AllLangs}}{{if eq $.SSPIDefaultLanguage .Lang}}{{.Name}}{{end}}{{end}}</div>
|
|
|
|
<div class="menu">
|
|
|
|
<div class="item{{if not $.SSPIDefaultLanguage}} active selected{{end}}" data-value="">-</div>
|
|
|
|
{{range .AllLangs}}
|
|
|
|
<div class="item{{if eq $.SSPIDefaultLanguage .Lang}} active selected{{end}}" data-value="{{.Lang}}">{{.Name}}</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-25 14:26:50 +05:30
|
|
|
<p class="help">{{ctx.Locale.Tr "admin.auths.sspi_default_language_helper"}}</p>
|
2019-11-23 05:03:31 +05:30
|
|
|
</div>
|
|
|
|
</div>
|