Working on javascript magic to resize svg div so scrolling works nicely. Seems to...
[arvados.git] / apps / workbench / app / models / user.rb
index bc1f4763cc90ffa29dc7327b44cfefdd173df0fb..7ab532df58b841f7a033becf18eb7c2eb62c0513 100644 (file)
@@ -30,4 +30,8 @@ class User < ArvadosBase
   def attribute_editable?(attr)
     (not (self.uuid.andand.match(/000000000000000$/) and self.is_admin)) and super(attr)
   end
+
+  def friendly_link_name
+    [self.first_name, self.last_name].compact.join ' '
+  end
 end