Skip to content

Commit 1042557

Browse files
authored
Fix config page (#151)
* Fix(config): fix config page * adapt CHANGELOG
1 parent 0b5dcbd commit 1042557

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
[UNRELEASED]
9+
10+
### Fixed
11+
12+
- Fix config page error on display
13+
814
## [2.5.0] - 2025-10-01
915

1016
### Added

templates/config.html.twig

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,31 +39,31 @@
3939
{{ fields.checkboxField(
4040
'active_sync',
4141
item.fields['active_sync'],
42-
__s('Enable synchronization', 'sccm')
42+
__('Enable synchronization', 'sccm')
4343
) }}
4444

4545
{{ fields.textField(
4646
'sccmdb_host',
4747
item.fields['sccmdb_host'],
48-
__s('Server hostname (MSSQL)', 'sccm')
48+
__('Server hostname (MSSQL)', 'sccm')
4949
) }}
5050

5151
{{ fields.textField(
5252
'sccmdb_dbname',
5353
item.fields['sccmdb_dbname'],
54-
__s('Database name', 'sccm')
54+
__('Database name', 'sccm')
5555
) }}
5656

5757
{{ fields.textField(
5858
'sccmdb_user',
5959
item.fields['sccmdb_user'],
60-
__s('Username', 'sccm')
60+
__('Username', 'sccm')
6161
) }}
6262

6363
{{ fields.passwordField(
6464
'sccmdb_password',
6565
item.fields['sccmdb_password'],
66-
__s('Password', 'sccm'),
66+
__('Password', 'sccm'),
6767
{ 'autocomplete': 'off' }
6868
) }}
6969

@@ -74,7 +74,7 @@
7474
{{ fields.textField(
7575
'inventory_server_url',
7676
item.fields['inventory_server_url'],
77-
__s('Inventory server base URL', 'sccm'),
77+
__('Inventory server base URL', 'sccm'),
7878
{
7979
'add_field_html': alert,
8080
}
@@ -83,37 +83,37 @@
8383
{{ fields.checkboxField(
8484
'verify_ssl_cert',
8585
item.fields['verify_ssl_cert'],
86-
__s('Verify SSL certificate', 'sccm')
86+
__('Verify SSL certificate', 'sccm')
8787
) }}
8888

8989
{{ fields.checkboxField(
9090
'use_auth_ntlm',
9191
item.fields['use_auth_ntlm'],
92-
__s('Use NLTM authentication', 'sccm')
92+
__('Use NLTM authentication', 'sccm')
9393
) }}
9494

9595
{{ fields.checkboxField(
9696
'unrestricted_auth',
9797
item.fields['unrestricted_auth'],
98-
__s('Send credentials to other hosts too', 'sccm')
98+
__('Send credentials to other hosts too', 'sccm')
9999
) }}
100100

101101
{{ fields.checkboxField(
102102
'use_auth_info',
103103
item.fields['use_auth_info'],
104-
__s('Use specific authentication information', 'sccm')
104+
__('Use specific authentication information', 'sccm')
105105
) }}
106106

107107
{{ fields.textField(
108108
'auth_info',
109109
item.fields['auth_info'],
110-
__s('Value for spécific authentication', 'sccm')
110+
__('Value for spécific authentication', 'sccm')
111111
) }}
112112

113113
{{ fields.checkboxField(
114114
'use_lasthwscan',
115115
item.fields['use_lasthwscan'],
116-
__s('Use LastHWScan as GLPI last inventory date', 'sccm')
116+
__('Use LastHWScan as GLPI last inventory date', 'sccm')
117117
) }}
118118

119119
{{ fields.textareaField(
@@ -123,5 +123,3 @@
123123
) }}
124124

125125
{% endblock %}
126-
127-

0 commit comments

Comments
 (0)