FEATURE: Link user card from assigned list avatar (#93)

FEATURE: Link user card from assigned list avatar (#93)

diff --git a/assets/javascripts/discourse/templates/components/group-assigned-filter.hbs b/assets/javascripts/discourse/templates/components/group-assigned-filter.hbs
index f821524..1ef4ab6 100644
--- a/assets/javascripts/discourse/templates/components/group-assigned-filter.hbs
+++ b/assets/javascripts/discourse/templates/components/group-assigned-filter.hbs
@@ -1,6 +1,8 @@
 {{#if show-avatar}}
   {{#link-to "group.assigned.show" filter.username_lower}}
-    {{avatar filter avatarTemplatePath="avatar_template" usernamePath="username" imageSize="small"}}
+    <a href={{filter.userUrl}} data-user-card={{filter.username}} class="assign-image">
+      {{avatar filter imageSize="small"}}
+    </a>
     <span class="assign-count">({{filter.assignments_count}})</span>
     <span class="assign-name">{{displayName}}</span>
   {{/link-to}}
diff --git a/assets/stylesheets/assigns.scss b/assets/stylesheets/assigns.scss
index a73cff0..9f49424 100644
--- a/assets/stylesheets/assigns.scss
+++ b/assets/stylesheets/assigns.scss
@@ -103,7 +103,8 @@
       "name name";
     grid-template-columns: auto 1fr;
     align-items: center;
-    img {
+    a {
+      padding: 0px;
       margin-right: 0.25em;
       grid-area: avatar;
     }

GitHub sha: 05014396

This commit appears in #93 which was merged by davidtaylorhq.