##// END OF EJS Templates
flash-filters: changed texts
marcink -
r987:d56114c0 default
parent child Browse files
Show More
@@ -72,7 +72,7 b''
72 <option value="ga">Google Analytics</option>
72 <option value="ga">Google Analytics</option>
73 <option value="clicky">Clicky</option>
73 <option value="clicky">Clicky</option>
74 <option value="server_announce">${_('Server Announcement')}</option>
74 <option value="server_announce">${_('Server Announcement')}</option>
75 <option value="flash_filtering">${_('Example flash message filtering')}</option>
75 <option value="flash_filtering">${_('Flash message filtering')}</option>
76 </select>
76 </select>
77 </div>
77 </div>
78 <div style="padding: 10px 0px"></div>
78 <div style="padding: 10px 0px"></div>
@@ -200,10 +200,11 b''
200 </script>
200 </script>
201
201
202 <script id="flash_filtering_tmpl" type='text/x-template'>
202 <script id="flash_filtering_tmpl" type='text/x-template'>
203 <%text filter="h">
203 <%text filter="h">
204 <script>
204 <script>
205 // This filters out some flash messages before they are presented to user
205 // This filters out some flash messages before they are presented to user
206 // based on their contents
206 // based on their contents. Could be used to filter out warnings/errors
207 // of license messages
207
208
208 var filteredMessages = [];
209 var filteredMessages = [];
209 for(var i =0; i< alertMessagePayloads.length; i++){
210 for(var i =0; i< alertMessagePayloads.length; i++){
General Comments 0
You need to be logged in to leave comments. Login now