Android: Alias now shown in interface details
authorAlex Kirhenshtein <alk@netxms.org>
Fri, 10 Apr 2015 16:59:23 +0000 (19:59 +0300)
committerAlex Kirhenshtein <alk@netxms.org>
Fri, 10 Apr 2015 16:59:23 +0000 (19:59 +0300)
android/src/console/res/values/strings.xml
android/src/console/src/org/netxms/ui/android/main/adapters/InterfaceDetailsAdapter.java

index 74b0afa..bc370f2 100644 (file)
        <string name="if_ignore">IGNORE</string>
        <string name="if_id">ID</string>
        <string name="if_name">Name</string>
+  <string name="if_alias">Alias</string>
        <string name="if_type">ifType</string>
        <string name="if_index">ifIndex</string>
        <string name="if_slot">Slot</string>
index 83bea93..90a831c 100644 (file)
@@ -54,6 +54,7 @@ public class InterfaceDetailsAdapter extends BaseAdapter
        {
                addRow(r.getString(R.string.if_id), Long.toString(i.getObjectId()));
                addRow(r.getString(R.string.if_name), i.getObjectName());
+    addRow(r.getString(R.string.if_alias), i.getAlias());
                addRow(r.getString(R.string.if_type), Integer.toString(i.getIfType()));
                addRow(r.getString(R.string.if_index), Integer.toString(i.getIfIndex()));
                addRow(r.getString(R.string.if_slot), Integer.toString(i.getSlot()));