You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/11/18 22:53:37 UTC

[7/8] allura git commit: [#7981] note about further UI improvements

[#7981] note about further UI improvements


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/e0aab4cf
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/e0aab4cf
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/e0aab4cf

Branch: refs/heads/db/7981
Commit: e0aab4cfb946f2f4a5b99837d251e61e19838e37
Parents: 83e84d9
Author: Dave Brondsema <da...@brondsema.net>
Authored: Fri Nov 18 17:52:18 2016 -0500
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Fri Nov 18 17:53:18 2016 -0500

----------------------------------------------------------------------
 Allura/allura/templates/widgets/threads_table.html | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/e0aab4cf/Allura/allura/templates/widgets/threads_table.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/threads_table.html b/Allura/allura/templates/widgets/threads_table.html
index 873b537..b5aa4ea 100644
--- a/Allura/allura/templates/widgets/threads_table.html
+++ b/Allura/allura/templates/widgets/threads_table.html
@@ -36,7 +36,13 @@
       <tr>
         {% if not c.user.is_anonymous() and allow_subscriptions %}
           <td>
-            <input type="checkbox" name="threads-{{loop.index0}}.subscription" {% if thread.subscribed() %}checked="checked"{% endif %} />
+            <input type="checkbox" name="threads-{{loop.index0}}.subscription"
+                   {%- if thread.subscribed() %} checked="checked" {% endif -%}
+                    {# TODO: show grayed out checkboxes, with tooltip, if subscribed to whole forum.  All in JS?
+                       And remove "Update email subs" button
+                       And indicate how to use the global subscribe/unsubscribe icon
+                    #}
+            />
             <input type="hidden" name="threads-{{loop.index0}}._id" value="{{thread._id}}"/>
           </td>
         {% endif %}