1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-25 10:50:13 +03:00

turn off group policy tab in release

not finished
This commit is contained in:
Dmitry Degtyarev 2021-02-02 16:25:45 +04:00
parent 683f7efcd5
commit 152398bfd2
3 changed files with 8 additions and 4 deletions

View File

@ -166,10 +166,14 @@ PropertiesDialog::PropertiesDialog(const QString &target_arg)
if (object.is_class(CLASS_USER)) {
add_tab(new MemberOfTab(), tr("Member of"));
}
#ifdef QT_DEBUG
if (object.is_class(CLASS_OU)) {
// TODO: not sure which object classes can have gplink, for now only know of OU's.
add_tab(new GroupPolicyTab(), tr("Group policy"));
}
#endif
if (object.is_class(CLASS_GP_CONTAINER)) {
add_tab(new GpoLinksTab(), tr("Links to"));
}

View File

@ -1434,12 +1434,12 @@
<translation></translation>
</message>
<message>
<location filename="../src/admc/properties_dialog.cpp" line="171"/>
<location filename="../src/admc/properties_dialog.cpp" line="173"/>
<source>Group policy</source>
<translation></translation>
</message>
<message>
<location filename="../src/admc/properties_dialog.cpp" line="174"/>
<location filename="../src/admc/properties_dialog.cpp" line="178"/>
<source>Links to</source>
<translation></translation>
</message>

View File

@ -1441,12 +1441,12 @@
<translation>Группы</translation>
</message>
<message>
<location filename="../src/admc/properties_dialog.cpp" line="171"/>
<location filename="../src/admc/properties_dialog.cpp" line="173"/>
<source>Group policy</source>
<translation>Групповая политика</translation>
</message>
<message>
<location filename="../src/admc/properties_dialog.cpp" line="174"/>
<location filename="../src/admc/properties_dialog.cpp" line="178"/>
<source>Links to</source>
<translation>Линки политик</translation>
</message>