|  | 
| 2 | 2 | 	{{ctx.Locale.Tr "admin.config.service_config"}} | 
| 3 | 3 | </h4> | 
| 4 | 4 | <div class="ui attached table segment"> | 
|  | 5 | +	<form class="ui form"> | 
| 5 | 6 | 	<dl class="admin-dl-horizontal"> | 
| 6 | 7 | 		<dt>{{ctx.Locale.Tr "admin.config.default_keep_email_private"}}</dt> | 
| 7 | 8 | 		<dd> | 
| 8 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.default_keep_email_private_desc"}}"> | 
|  | 9 | +			<div class="ui toggle checkbox"> | 
| 9 | 10 | 				<input type="checkbox" data-config-dyn-key="service.default_keep_email_private" {{if .SystemConfig.Service.DefaultKeepEmailPrivate.Value ctx}}checked{{end}}><label></label> | 
| 10 | 11 | 			</div> | 
| 11 | 12 | 		</dd> | 
|  | 13 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.default_keep_email_private_desc"}}</p></div> | 
| 12 | 14 | 		<div class="divider"></div> | 
| 13 | 15 | 		<dt>{{ctx.Locale.Tr "admin.config.default_allow_create_organization"}}</dt> | 
| 14 | 16 | 		<dd> | 
| 15 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.default_allow_create_organization_desc"}}"> | 
|  | 17 | +			<div class="ui toggle checkbox"> | 
| 16 | 18 | 				<input type="checkbox" data-config-dyn-key="service.default_allow_create_organization" {{if .SystemConfig.Service.DefaultAllowCreateOrganization.Value ctx}}checked{{end}}><label></label> | 
| 17 | 19 | 			</div> | 
| 18 | 20 | 		</dd> | 
|  | 21 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.default_allow_create_organization_desc"}}</p></div> | 
| 19 | 22 | 		<div class="divider"></div> | 
| 20 | 23 | 		<dt>{{ctx.Locale.Tr "admin.config.default_user_is_restricted"}}</dt> | 
| 21 | 24 | 		<dd> | 
| 22 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.default_user_is_restricted_desc"}}"> | 
|  | 25 | +			<div class="ui toggle checkbox"> | 
| 23 | 26 | 				<input type="checkbox" data-config-dyn-key="service.default_user_is_restricted" {{if .SystemConfig.Service.DefaultUserIsRestricted.Value ctx}}checked{{end}}><label></label> | 
| 24 | 27 | 			</div> | 
| 25 | 28 | 		</dd> | 
|  | 29 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.default_user_is_restricted_desc"}}</p></div> | 
| 26 | 30 | 		<div class="divider"></div> | 
| 27 | 31 | 		<dt>{{ctx.Locale.Tr "admin.config.enable_time_tracking"}}</dt> | 
| 28 | 32 | 		<dd> | 
| 29 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.enable_time_tracking_desc"}}"> | 
|  | 33 | +			<div class="ui toggle checkbox"> | 
| 30 | 34 | 				<input type="checkbox" data-config-dyn-key="service.enable_time_tracking" {{if .SystemConfig.Service.EnableTimeTracking.Value ctx}}checked{{end}}><label></label> | 
| 31 | 35 | 			</div> | 
| 32 | 36 | 		</dd> | 
|  | 37 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.enable_time_tracking_desc"}}</p></div> | 
| 33 | 38 | 		<div class="divider"></div> | 
| 34 | 39 | 		<dt>{{ctx.Locale.Tr "admin.config.default_enable_time_tracking"}}</dt> | 
| 35 | 40 | 		<dd> | 
| 36 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.default_enable_time_tracking_desc"}}"> | 
|  | 41 | +			<div class="ui toggle checkbox"> | 
| 37 | 42 | 				<input type="checkbox" data-config-dyn-key="service.default_enable_time_tracking" {{if .SystemConfig.Service.DefaultEnableTimeTracking.Value ctx}}checked{{end}}><label></label> | 
| 38 | 43 | 			</div> | 
| 39 | 44 | 		</dd> | 
|  | 45 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.default_enable_time_tracking_desc"}}</p></div> | 
| 40 | 46 | 		<div class="divider"></div> | 
| 41 | 47 | 		<dt>{{ctx.Locale.Tr "admin.config.default_allow_only_contributors_to_track_time"}}</dt> | 
| 42 | 48 | 		<dd> | 
| 43 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.default_allow_only_contributors_to_track_time_desc"}}"> | 
|  | 49 | +			<div class="ui toggle checkbox"> | 
| 44 | 50 | 				<input type="checkbox" data-config-dyn-key="service.default_allow_only_contributors_to_track_time" {{if .SystemConfig.Service.DefaultAllowOnlyContributorsToTrackTime.Value ctx}}checked{{end}}><label></label> | 
| 45 | 51 | 			</div> | 
| 46 | 52 | 		</dd> | 
|  | 53 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.default_allow_only_contributors_to_track_time_desc"}}</p></div> | 
| 47 | 54 | 		<div class="divider"></div> | 
| 48 | 55 | 		<dt>{{ctx.Locale.Tr "admin.config.default_enable_dependencies"}}</dt> | 
| 49 | 56 | 		<dd> | 
| 50 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.default_enable_dependencies_desc"}}"> | 
|  | 57 | +			<div class="ui toggle checkbox"> | 
| 51 | 58 | 				<input type="checkbox" data-config-dyn-key="service.default_enable_dependencies" {{if .SystemConfig.Service.DefaultEnableDependencies.Value ctx}}checked{{end}}><label></label> | 
| 52 | 59 | 			</div> | 
| 53 | 60 | 		</dd> | 
|  | 61 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.default_enable_dependencies_desc"}}</p></div> | 
| 54 | 62 | 		<div class="divider"></div> | 
| 55 | 63 | 		<dt>{{ctx.Locale.Tr "admin.config.allow_cross_repository_dependencies"}}</dt> | 
| 56 | 64 | 		<dd> | 
| 57 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.allow_cross_repository_dependencies_desc"}}"> | 
|  | 65 | +			<div class="ui toggle checkbox"> | 
| 58 | 66 | 				<input type="checkbox" data-config-dyn-key="service.allow_cross_repository_dependencies" {{if .SystemConfig.Service.AllowCrossRepositoryDependencies.Value ctx}}checked{{end}}><label></label> | 
| 59 | 67 | 			</div> | 
| 60 | 68 | 		</dd> | 
|  | 69 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.allow_cross_repository_dependencies_desc"}}</p></div> | 
| 61 | 70 | 		<div class="divider"></div> | 
| 62 | 71 | 		<dt>{{ctx.Locale.Tr "admin.config.enable_user_heatmap"}}</dt> | 
| 63 | 72 | 		<dd> | 
| 64 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.enable_user_heatmap_desc"}}"> | 
|  | 73 | +			<div class="ui toggle checkbox"> | 
| 65 | 74 | 				<input type="checkbox" data-config-dyn-key="service.enable_user_heatmap" {{if .SystemConfig.Service.EnableUserHeatmap.Value ctx}}checked{{end}}><label></label> | 
| 66 | 75 | 			</div> | 
| 67 | 76 | 		</dd> | 
|  | 77 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.enable_user_heatmap_desc"}}</p></div> | 
| 68 | 78 | 		<div class="divider"></div> | 
| 69 | 79 | 		<dt>{{ctx.Locale.Tr "admin.config.auto_watch_new_repos"}}</dt> | 
| 70 | 80 | 		<dd> | 
| 71 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.auto_watch_new_repos_desc"}}"> | 
|  | 81 | +			<div class="ui toggle checkbox"> | 
| 72 | 82 | 				<input type="checkbox" data-config-dyn-key="service.auto_watch_new_repos" {{if .SystemConfig.Service.AutoWatchNewRepos.Value ctx}}checked{{end}}><label></label> | 
| 73 | 83 | 			</div> | 
| 74 | 84 | 		</dd> | 
|  | 85 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.auto_watch_new_repos_desc"}}</p></div> | 
| 75 | 86 | 		<div class="divider"></div> | 
| 76 | 87 | 		<dt>{{ctx.Locale.Tr "admin.config.auto_watch_on_changes"}}</dt> | 
| 77 | 88 | 		<dd> | 
| 78 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.auto_watch_on_changes_desc"}}"> | 
|  | 89 | +			<div class="ui toggle checkbox"> | 
| 79 | 90 | 				<input type="checkbox" data-config-dyn-key="service.auto_watch_on_changes" {{if .SystemConfig.Service.AutoWatchOnChanges.Value ctx}}checked{{end}}><label></label> | 
| 80 | 91 | 			</div> | 
| 81 | 92 | 		</dd> | 
|  | 93 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.auto_watch_on_changes_desc"}}</p></div> | 
| 82 | 94 | 		<div class="divider"></div> | 
| 83 | 95 | 		<dt>{{ctx.Locale.Tr "admin.config.default_org_member_visible"}}</dt> | 
| 84 | 96 | 		<dd> | 
| 85 |  | -			<div class="ui toggle checkbox" data-tooltip-content="{{ctx.Locale.Tr "admin.config.default_org_member_visible_desc"}}"> | 
|  | 97 | +			<div class="ui toggle checkbox"> | 
| 86 | 98 | 				<input type="checkbox" data-config-dyn-key="service.default_org_member_visible" {{if .SystemConfig.Service.DefaultOrgMemberVisible.Value ctx}}checked{{end}}><label></label> | 
| 87 | 99 | 			</div> | 
| 88 | 100 | 		</dd> | 
|  | 101 | +		<div><p class="help">{{ctx.Locale.Tr "admin.config.default_org_member_visible_desc"}}</p></div> | 
| 89 | 102 | 	</dl> | 
|  | 103 | +	</form> | 
| 90 | 104 | </div> | 
0 commit comments