gui CHANGE link schemas from data
open schema in YANG explorer by clicking on schema name of the nodes
in configuration view
diff --git a/backend/data.py b/backend/data.py
index cfcfdbd..935d974 100644
--- a/backend/data.py
+++ b/backend/data.py
@@ -63,7 +63,10 @@
info = {}
info["type"] = schema.nodetype()
- info["module"] = schema.module().name()
+ if schema.module().rev_size():
+ info["module"] = schema.module().name() + '@' + schema.module().rev().date()
+ else:
+ info["module"] = schema.module().name()
info["name"] = schema.name()
info["dsc"] = schema.dsc()
info["config"] = True if schema.flags() & yang.LYS_CONFIG_W else False