adding initial.js to show Gmail-like user avatars; adding avatar_image helper to abstract from plugin options adding the two currently used styles, profile and small
This commit is contained in:
@@ -36,13 +36,15 @@
|
||||
|
||||
<div class="small-12 medium-6 column">
|
||||
<h3><%= t("account.show.avatar")%></h3>
|
||||
<%= image_tag('user_default_big.jpg', class: "avatar", size: "100x100") %>
|
||||
<%= avatar_image(@account, style: :profile) %>
|
||||
|
||||
<h3><%= t("account.show.notifications")%></h3>
|
||||
|
||||
<%= f.label :email_on_debate_comment do %>
|
||||
<%= f.check_box :email_on_debate_comment %>
|
||||
<span class="checkbox"><%= t("account.show.email_on_debate_comment_label") %></span>
|
||||
<% end %>
|
||||
|
||||
<%= f.label :email_on_comment_reply do %>
|
||||
<%= f.check_box :email_on_comment_reply %>
|
||||
<span class="checkbox"><%= t("account.show.email_on_comment_reply_label") %></span>
|
||||
@@ -55,4 +57,4 @@
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user