summary refs log tree commit diff
path: root/webclient/settings/settings.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-16 14:20:26 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-16 15:35:23 +0100
commitb170fe921e327d8d1be9768d30305ba953ccae9f (patch)
tree951f63d54ea01912f475396a6fa010f76a5009c5 /webclient/settings/settings.html
parentTime out calls from both ends properly. (diff)
downloadsynapse-b170fe921e327d8d1be9768d30305ba953ccae9f.tar.xz
Added a section on bing words if you enable desktop notifications.
Diffstat (limited to '')
-rw-r--r--webclient/settings/settings.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/webclient/settings/settings.html b/webclient/settings/settings.html
index c358a6e9d8..3b3dd3dadd 100644
--- a/webclient/settings/settings.html
+++ b/webclient/settings/settings.html
@@ -52,6 +52,14 @@
         <div class="section" ng-switch="settings.notifications">
             <div ng-switch-when="granted">
                 Notifications are enabled.
+                <div class="section">
+                    <h4>Words to alert on:</h4>
+                    <input size=40 name="bingWords" ng-model="settings.bingWords" ng-list placeholder="Enter words separated with ,"
+                    ng-blur="saveBingWords()"/>
+                    <ul>
+                        <li ng-repeat="word in settings.bingWords">{{word}}</li>
+                    </ul>
+                </div>
             </div>
             <div ng-switch-when="denied">
                 You have denied permission for notifications.<br/>