Merge "Show status for enabled plugins in the WebUI as 'Enabled'"
This commit is contained in:
@@ -109,6 +109,7 @@ public interface AdminConstants extends Constants {
|
|||||||
String projectAdminTabAccess();
|
String projectAdminTabAccess();
|
||||||
|
|
||||||
String plugins();
|
String plugins();
|
||||||
|
String pluginEnabled();
|
||||||
String pluginDisabled();
|
String pluginDisabled();
|
||||||
|
|
||||||
String columnPluginName();
|
String columnPluginName();
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ projectAdminTabBranches = Branches
|
|||||||
projectAdminTabAccess = Access
|
projectAdminTabAccess = Access
|
||||||
|
|
||||||
plugins = Plugins
|
plugins = Plugins
|
||||||
|
pluginEnabled = Enabled
|
||||||
pluginDisabled = Disabled
|
pluginDisabled = Disabled
|
||||||
columnPluginName = Plugin Name
|
columnPluginName = Plugin Name
|
||||||
columnPluginVersion = Version
|
columnPluginVersion = Version
|
||||||
|
|||||||
@@ -92,9 +92,8 @@ public class PluginListScreen extends PluginScreen {
|
|||||||
+ plugin.name() + "/")));
|
+ plugin.name() + "/")));
|
||||||
}
|
}
|
||||||
table.setText(row, 2, plugin.version());
|
table.setText(row, 2, plugin.version());
|
||||||
if (plugin.isDisabled()) {
|
table.setText(row, 3, plugin.isDisabled() ? Util.C.pluginDisabled()
|
||||||
table.setText(row, 3, Util.C.pluginDisabled());
|
: Util.C.pluginEnabled());
|
||||||
}
|
|
||||||
|
|
||||||
final FlexCellFormatter fmt = table.getFlexCellFormatter();
|
final FlexCellFormatter fmt = table.getFlexCellFormatter();
|
||||||
fmt.addStyleName(row, 1, Gerrit.RESOURCES.css().dataCell());
|
fmt.addStyleName(row, 1, Gerrit.RESOURCES.css().dataCell());
|
||||||
|
|||||||
Reference in New Issue
Block a user