From 1100e72d9e8de9c96fc558a307572f3f51e15a6a Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 25 Feb 2014 12:32:56 -0500 Subject: [PATCH] Make robot accounts clickable if they are accessible to the user --- static/directives/entity-reference.html | 24 ++++++--- static/directives/entity-search.html | 4 ++ static/js/app.js | 68 +++++++++++++++++++++---- 3 files changed, 78 insertions(+), 18 deletions(-) diff --git a/static/directives/entity-reference.html b/static/directives/entity-reference.html index 6cb91a5c0..12ee81f86 100644 --- a/static/directives/entity-reference.html +++ b/static/directives/entity-reference.html @@ -1,19 +1,27 @@ - + - {{entity.name}} - {{entity.name}} + {{entity.name}} + {{entity.name}} - + - - {{getPrefix(entity.name)}}{{getShortenedName(entity.name)}} + + + {{ getPrefix(entity.name) }}+{{ getShortenedName(entity.name) }} + + + {{ getPrefix(entity.name) }}+{{ getShortenedName(entity.name) }} + + + + {{getShortenedName(entity.name)}} - + diff --git a/static/directives/entity-search.html b/static/directives/entity-search.html index e87f3e2c3..04dac6c0f 100644 --- a/static/directives/entity-search.html +++ b/static/directives/entity-search.html @@ -7,6 +7,10 @@