<h4 class="ui top attached header">
	{{ctx.Locale.Tr "admin.config.picture_config"}}
</h4>
<div class="ui attached table segment">
	<dl class="admin-dl-horizontal">
		{{$cfgOpt := .SystemConfig.Picture.DisableGravatar}}
		<dt>{{ctx.Locale.Tr "admin.config.enable_gravatar"}}</dt>
		<dd>
			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.enable_gravatar"}}">
				<input type="checkbox" data-config-dyn-key="{{$cfgOpt.DynKey}}" data-config-value-type="flipped" {{if not ($cfgOpt.Value ctx)}}checked{{end}}><label></label>
			</div>
		</dd>

		<div class="divider"></div>

		{{$cfgOpt = .SystemConfig.Picture.EnableFederatedAvatar}}
		<dt>{{ctx.Locale.Tr "admin.config.enable_federated_avatar"}}</dt>
		<dd>
			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.enable_federated_avatar"}}">
				<input type="checkbox" data-config-dyn-key="{{$cfgOpt.DynKey}}" data-config-value-type="boolean" {{if $cfgOpt.Value ctx}}checked{{end}}><label></label>
			</div>
		</dd>
	</dl>
</div>
