Commit f16c0df8 by Jason Bau

Merge pull request #2095 from edx/giulio/comment-out-forum-follow

Comment out forum follow checkboxes
parents dbf737aa d30d12f1
...@@ -6,7 +6,9 @@ ...@@ -6,7 +6,9 @@
<form class="new-post-form"> <form class="new-post-form">
<div class="left-column"> <div class="left-column">
<div class="options"> <div class="options">
<input type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label for="new-post-follow">${_("follow this post")}</label>
<input style="display: none;" type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label style="display: none;" for="new-post-follow">${_("follow this post")}</label>
<br> <br>
% if course.allow_anonymous: % if course.allow_anonymous:
<input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">${_("post anonymously")}</label> <input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">${_("post anonymously")}</label>
......
...@@ -39,7 +39,9 @@ ...@@ -39,7 +39,9 @@
</div> </div>
</div> </div>
<div class="options"> <div class="options">
<input type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label for="new-post-follow">${_("follow this post")}</label>
<input style="display: none;" type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label style="display: none;" for="new-post-follow">${_("follow this post")}</label>
<br> <br>
% if course.allow_anonymous: % if course.allow_anonymous:
<input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">${_("post anonymously")}</label> <input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">${_("post anonymously")}</label>
......
...@@ -218,15 +218,17 @@ ...@@ -218,15 +218,17 @@
<span class="row-description">Follow posts for updates</span> <span class="row-description">Follow posts for updates</span>
</td> </td>
</tr> </tr>
<tr class="helpgrid-row helpgrid-row-notification">
<td class="row-title">Receive updates</td> <tr class="helpgrid-row helpgrid-row-notification" style="display: none;">
<td class="row-item-full" colspan="3"> <td class="row-title">Receive updates</td>
<label class="sr" for="email-setting-checkbox">${_("Toggle Notifications Setting")}</label> <td class="row-item-full" colspan="3">
<input type="checkbox" id="email-setting-checkbox" class="email-setting" name="email-notification"/> <label class="sr" for="email-setting-checkbox">${_("Toggle Notifications Setting")}</label>
<i class="icon icon-envelope"></i> <input type="checkbox" id="email-setting-checkbox" class="email-setting" name="email-notification"/>
<span class="row-description"> If enabled, you will receive an email digest once a day notifying you about new, unread activity from posts you are following. </span> <i class="icon icon-envelope"></i>
</td> <span class="row-description"> If enabled, you will receive an email digest once a day notifying you about new, unread activity from posts you are following. </span>
</td>
</tr> </tr>
</table> </table>
% endif % endif
% endif % endif
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<input type="submit" class="submit" value="Add post"> <input type="submit" class="submit" value="Add post">
<a href="#" class="new-post-cancel">Cancel</a> <a href="#" class="new-post-cancel">Cancel</a>
<div class="options"> <div class="options">
<input type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label for="new-post-follow">follow this post</label> <input style="display: none;" type="checkbox" name="follow" class="discussion-follow" class="discussion-follow" id="new-post-follow" checked><label style="display: none;" for="new-post-follow">follow this post</label>
<br> <br>
{{#allow_anonymous}} {{#allow_anonymous}}
<input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">post anonymously</label> <input type="checkbox" name="anonymous" class="discussion-anonymous" id="new-post-anonymous"><label for="new-post-anonymous">post anonymously</label>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment