53 {% endif %} |
53 {% endif %} |
54 |
54 |
55 {% endif %} |
55 {% endif %} |
56 |
56 |
57 <h2>{% blocktrans %}Email notifications{% endblocktrans %}</h2> |
57 <h2>{% blocktrans %}Email notifications{% endblocktrans %}</h2> |
58 |
58 <div> |
59 <input type="checkbox" id="all_check" class="check" name="all-check" {% if all_check %}checked="checked"{% endif %}/> |
59 {% if workspace_notify_check %} |
60 {% blocktrans %}Subscribe to all text notifications{% endblocktrans %} |
60 {% blocktrans %}You will receive text notifications because you subscribed to notifications at the workspace level{% endblocktrans %} |
61 |
61 {% else %} |
|
62 <input type="checkbox" id="text_notify_check" class="check" {% if text_notify_check %}checked="checked"{% endif %}/> |
|
63 {% blocktrans %}Subscribe to all text notifications{% endblocktrans %} |
|
64 {% endif %} |
|
65 </div> |
62 <script type="text/javascript"> |
66 <script type="text/javascript"> |
63 <!-- |
67 <!-- |
64 $(function() { |
68 $(function() { |
65 $(".check").click(function(){ |
69 $(".check").click(function(){ |
66 var all_check = $("#all_check").attr('checked'); |
70 checked = $(this).attr('checked'); |
67 $.post('.',{'all_check':all_check},function(data){/* window.location = window.location;*/}); |
71 id = $(this).attr('id') ; |
68 }); |
72 post_data = {'notif_id': id} ; |
69 }) ; |
73 post_data[id] = checked ; |
|
74 $.post('.', post_data, function(data){}); |
|
75 }); |
|
76 |
|
77 }) ; |
70 --> |
78 --> |
71 </script> |
79 </script> |
72 |
80 |
73 <h2>{% blocktrans %}Embed text{% endblocktrans %}</h2> |
81 <h2>{% blocktrans %}Embed text{% endblocktrans %}</h2> |
74 {% blocktrans %}Copy this code into your site to display text with comments. Users will also be able to add comments from your site depending an anonymous users' roles.{% endblocktrans %} |
82 {% blocktrans %}Copy this code into your site to display text with comments. Users will also be able to add comments from your site depending an anonymous users' roles.{% endblocktrans %} |