Node: show node alias instead of node name

This commit is contained in:
Thomas Gelf 2014-12-02 11:36:55 +01:00
parent 2969e53502
commit 6e1d546225

View file

@ -243,7 +243,7 @@ abstract class Node
public function renderLink($view)
{
return '<a href="#">' . $this->name . '</a>';
return '<a href="#">' . ($this->hasAlias() ? $this->getAlias() : $this->name) . '</a>';
}
public function getIcons($view)