54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
<% title "Edit Notification Settings: #{@user.name}" %>
|
|
|
|
<%= link_to @user.name, @user %> → Edit Notification Settings
|
|
<h1>Edit Notification Settings</h1>
|
|
|
|
|
|
<%= form_for @user do |f| %>
|
|
<p>Email me when someone...</p>
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>replies to my thread</td>
|
|
<td>
|
|
<%= f.check_box :mail_own_thread_reply %>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>replies to a thread I already replied to</td>
|
|
<td>
|
|
<%= f.check_box :mail_other_thread_reply %>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
comments my blog post<br>
|
|
<i>(Currently used for staff only)</i>
|
|
</td>
|
|
<td>
|
|
<%= f.check_box :mail_own_blogpost_comment %>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>comments a blog post I already commented</td>
|
|
<td>
|
|
<%= f.check_box :mail_other_blogpost_comment %>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
mentions me in a thread or comment
|
|
</td>
|
|
<td>
|
|
<%= f.check_box :mail_mention %>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3>Public Key</h1>
|
|
<p>All notification emails will be encrypted with this key if you supply it.</p>
|
|
<%= f.text_area :public_key, placeholder: "-----BEGIN PGP PUBLIC KEY BLOCK-----" %>
|
|
<p><%= f.submit "Save Changes", class: "btn blue left" %></p>
|
|
<div class="clear"></div>
|
|
<% end %>
|