* notifications * fix * . * REVERT * . * drop ccss * REVERT * specs * drop colons * fixse * fix * spec 1 * eh * Fix notification specs Co-authored-by: Molly Struve <mollylbs@gmail.com>
10 lines
791 B
Text
10 lines
791 B
Text
<div class="relative shrink-0 self-start">
|
|
<% if json_data["organization"] %>
|
|
<a class="crayons-logo crayons-logo--xl" href="<%= json_data["organization"]["path"] %>">
|
|
<img alt="<%= json_data["organization"]["name"] %> logo" class="crayons-logo__image" src="<%= json_data["organization"]["profile_image_90"] %>" width="48" height="48">
|
|
</a>
|
|
<% end %>
|
|
<a href="<%= json_data["user"]["path"] %>" class="crayons-avatar <% if json_data["organization"] %> crayons-avatar--l absolute -right-2 -bottom-2 border-solid border-2 border-base-inverted <% else %> crayons-avatar--xl <% end %>">
|
|
<img src="<%= json_data["user"]["profile_image_90"] %>" class="crayons-avatar__image" alt="link to <%= json_data["user"]["username"] %>'s profile" width="48" height="48">
|
|
</a>
|
|
</div>
|