Skip to content

Commit

Permalink
fix(tmpl): wrap login status in div element
Browse files Browse the repository at this point in the history
  • Loading branch information
g-div committed Dec 13, 2017
1 parent 6b2e63e commit baa6c2f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/embed/schnack.jst.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<button class="schnack-action" data-target="notification" data-class="setting" data-action="false">mute notifications</button>
</div>
<% } %>
<div class="schack-login-status">
(signed in as <span class="schnack-user">@<%= data.user.name %></span> :: <a class="schnack-signout" href="#">sign out</a>)
</div>
<div class="schnack-above">
<div class="schnack-form">
<textarea class="schnack-body" placeholder="Post a comment. Markdown is supported!"></textarea>
Expand All @@ -16,8 +19,6 @@
<button class="schnack-cancel-reply" style="display:none">Cancel</button>
</div>
</div>
(signed in as <span class="schnack-user">@<%= data.user.name %></span> :: <a class="schnack-signout" href="#">sign out</a>)

<% } else { %>
To post a comment you need to sign in via<br>
<% data.auth.forEach((provider, i) => { %>
Expand All @@ -40,4 +41,4 @@
<%= data.comments_tpl(data) %>
<style type="text/css">
.schnack-action > * { pointer-events: none; }
</style>
</style>

0 comments on commit baa6c2f

Please sign in to comment.