Browse Source

[beeswax,filebrowser,jobbrowser,jobsub,shell,desktop] Added javascript notifications to every template needed

abec 13 years ago
parent
commit
765815583b
48 changed files with 48 additions and 48 deletions
  1. 1 1
      apps/about/src/about/templates/index.mako
  2. 1 1
      apps/beeswax/src/beeswax/templates/choose_delimiter.mako
  3. 1 1
      apps/beeswax/src/beeswax/templates/choose_file.mako
  4. 1 1
      apps/beeswax/src/beeswax/templates/configuration.mako
  5. 1 1
      apps/beeswax/src/beeswax/templates/create_table_index.mako
  6. 1 1
      apps/beeswax/src/beeswax/templates/create_table_manually.mako
  7. 1 1
      apps/beeswax/src/beeswax/templates/define_columns.mako
  8. 1 1
      apps/beeswax/src/beeswax/templates/describe_partitions.mako
  9. 1 1
      apps/beeswax/src/beeswax/templates/describe_table.mako
  10. 1 1
      apps/beeswax/src/beeswax/templates/execute.mako
  11. 1 1
      apps/beeswax/src/beeswax/templates/explain.mako
  12. 1 1
      apps/beeswax/src/beeswax/templates/index.mako
  13. 1 1
      apps/beeswax/src/beeswax/templates/list_designs.mako
  14. 1 1
      apps/beeswax/src/beeswax/templates/list_history.mako
  15. 1 1
      apps/beeswax/src/beeswax/templates/load_table.mako
  16. 1 1
      apps/beeswax/src/beeswax/templates/my_queries.mako
  17. 1 1
      apps/beeswax/src/beeswax/templates/parameterization.mako
  18. 1 1
      apps/beeswax/src/beeswax/templates/report_gen.mako
  19. 1 1
      apps/beeswax/src/beeswax/templates/save_results.mako
  20. 1 1
      apps/beeswax/src/beeswax/templates/show_tables.mako
  21. 1 1
      apps/beeswax/src/beeswax/templates/watch_results.mako
  22. 1 1
      apps/beeswax/src/beeswax/templates/watch_wait.mako
  23. 1 1
      apps/filebrowser/src/filebrowser/templates/display.mako
  24. 1 1
      apps/filebrowser/src/filebrowser/templates/edit.mako
  25. 1 1
      apps/filebrowser/src/filebrowser/templates/fileop.mako
  26. 1 1
      apps/help/src/help/templates/display.mako
  27. 1 1
      apps/jobbrowser/src/jobbrowser/templates/attempt.mako
  28. 1 1
      apps/jobbrowser/src/jobbrowser/templates/job.mako
  29. 1 1
      apps/jobbrowser/src/jobbrowser/templates/jobs.mako
  30. 1 1
      apps/jobbrowser/src/jobbrowser/templates/task.mako
  31. 1 1
      apps/jobbrowser/src/jobbrowser/templates/tasks.mako
  32. 1 1
      apps/jobbrowser/src/jobbrowser/templates/tasktracker.mako
  33. 1 1
      apps/jobbrowser/src/jobbrowser/templates/tasktrackers.mako
  34. 1 1
      apps/jobsub/src/jobsub/templates/edit_design.mako
  35. 1 1
      apps/jobsub/src/jobsub/templates/list_designs.mako
  36. 1 1
      apps/jobsub/src/jobsub/templates/list_history.mako
  37. 1 1
      apps/jobsub/src/jobsub/templates/workflow.mako
  38. 1 1
      apps/shell/src/shell/templates/failed_to_create.mako
  39. 1 1
      apps/shell/src/shell/templates/index.mako
  40. 1 1
      apps/shell/src/shell/templates/no_such_user.mako
  41. 1 1
      apps/shell/src/shell/templates/not_running_spawning.mako
  42. 1 1
      desktop/core/src/desktop/app_template/src/app_name/templates/index.mako
  43. 1 1
      desktop/core/src/desktop/templates/404.mako
  44. 1 1
      desktop/core/src/desktop/templates/500.mako
  45. 1 1
      desktop/core/src/desktop/templates/check_config.mako
  46. 1 1
      desktop/core/src/desktop/templates/dump_config.mako
  47. 1 1
      desktop/core/src/desktop/templates/error.mako
  48. 1 1
      desktop/core/src/desktop/templates/logs.mako

+ 1 - 1
apps/about/src/about/templates/index.mako

@@ -36,4 +36,4 @@ ${commonheader(_('About Hue'), "about", "100px")}
 
 	</div>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/choose_delimiter.mako

@@ -136,4 +136,4 @@ ${layout.menubar(section='tables')}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/choose_file.mako

@@ -182,4 +182,4 @@ ${layout.menubar(section='tables')}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/configuration.mako

@@ -78,4 +78,4 @@ ${layout.menubar(section='hive configuration')}
 	});
 
 </script>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/create_table_index.mako

@@ -33,4 +33,4 @@ ${commonheader(_('Beeswax: Create Table'), "beeswax", "100px")}
   </div>
 </div>
 </div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/create_table_manually.mako

@@ -687,4 +687,4 @@ ${layout.menubar(section='tables')}
         }
     });
 </script>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/define_columns.mako

@@ -123,4 +123,4 @@ ${layout.menubar(section='tables')}
         });
     });
 </script>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/describe_partitions.mako

@@ -54,4 +54,4 @@ ${layout.menubar(section='tables')}
 % endif
 </table>
 </div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/describe_table.mako

@@ -229,4 +229,4 @@ ${layout.menubar(section='tables')}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/execute.mako

@@ -417,4 +417,4 @@ ${layout.menubar(section='query')}
 </script>
 
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/explain.mako

@@ -40,4 +40,4 @@ ${layout.menubar(section='saved queries')}
         </div>
     </div>
 </div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/index.mako

@@ -91,4 +91,4 @@ ${layout.menubar(section='tables')}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/list_designs.mako

@@ -144,4 +144,4 @@ ${layout.menubar(section='saved queries')}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/list_history.mako

@@ -163,4 +163,4 @@ ${layout.menubar(section='history')}
         $("a[data-row-selector='true']").jHueRowSelector();
     });
 </script>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/load_table.mako

@@ -45,4 +45,4 @@ ${layout.menubar()}
     </form>
   </div>
 </div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/my_queries.mako

@@ -253,4 +253,4 @@ ${layout.menubar(section='my queries')}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/parameterization.mako

@@ -52,4 +52,4 @@ ${layout.menubar()}
     </form>
 </div>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/report_gen.mako

@@ -119,4 +119,4 @@ ${log | h}
 </pre>
 % endif
 </div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/save_results.mako

@@ -84,4 +84,4 @@ ${layout.menubar(section='history')}
 		});
 	});
 </script>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/show_tables.mako

@@ -118,4 +118,4 @@ ${layout.menubar(section='tables')}
 	});
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/watch_results.mako

@@ -220,4 +220,4 @@ ${layout.menubar(section='query')}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/beeswax/src/beeswax/templates/watch_wait.mako

@@ -67,4 +67,4 @@ ${layout.menubar(section='query')}
 
 
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/filebrowser/src/filebrowser/templates/display.mako

@@ -214,4 +214,4 @@ ${commonheader(_('%(filename)s - File Viewer') % dict(filename=truncate(filename
 			});
 		});
 	</script>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/filebrowser/src/filebrowser/templates/edit.mako

@@ -115,6 +115,6 @@ ${commonheader(_('%(filename)s - File Viewer') % dict(filename=truncate(filename
 	});
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}
 
 

+ 1 - 1
apps/filebrowser/src/filebrowser/templates/fileop.mako

@@ -38,4 +38,4 @@ ${form.as_p()|n}
 </form>
 </div>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/help/src/help/templates/display.mako

@@ -29,4 +29,4 @@ ${commonheader("Hue Help", "help", "100px")}
 	<div class="container-fluid">
 		${content|n}
 	</div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/attempt.mako

@@ -189,4 +189,4 @@ ${commonheader(_('Task Attempt: %(attemptId)s - Job Browser') % dict(attemptId=a
         });
     });
 </script>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/job.mako

@@ -311,4 +311,4 @@ ${commonheader(_('Job: %(jobId)s - Job Browser') % dict(jobId=job.jobId), "jobbr
 </script>
 
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/jobs.mako

@@ -218,4 +218,4 @@ ${commonheader(_('Job Browser'), "jobbrowser")}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/task.mako

@@ -182,4 +182,4 @@ ${commonheader(_('Job Task: %(taskId)s - Job Browser') % dict(taskId=task.taskId
 </script>
 
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/tasks.mako

@@ -115,4 +115,4 @@ ${commonheader(_('Task View: Job: %(jobId)s - Job Browser') % dict(jobId=jobid),
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/tasktracker.mako

@@ -58,4 +58,4 @@ ${commonheader(_('Tracker: %(trackerId)s - Job Browser') % dict(trackerId=tracke
 	</div>
 </div>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobbrowser/src/jobbrowser/templates/tasktrackers.mako

@@ -65,4 +65,4 @@ $(document).ready(function(){
 });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobsub/src/jobsub/templates/edit_design.mako

@@ -333,4 +333,4 @@ ${layout.menubar(section='designs')}
 </script>
 
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobsub/src/jobsub/templates/list_designs.mako

@@ -229,4 +229,4 @@ ${layout.menubar(section='designs')}
         $("a[data-row-selector='true']").jHueRowSelector();
     });
 </script>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobsub/src/jobsub/templates/list_history.mako

@@ -101,4 +101,4 @@ ${layout.menubar(section='history')}
     });
 </script>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/jobsub/src/jobsub/templates/workflow.mako

@@ -206,4 +206,4 @@ ${layout.menubar(section='history')}
 
 ${configModal("appConfigModal", "Application Configuration", workflow.conf_dict)}
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/shell/src/shell/templates/failed_to_create.mako

@@ -31,4 +31,4 @@ ${commonheader(_('Hue Shell'), "shell")}
     </ol>
 </div>
 </div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/shell/src/shell/templates/index.mako

@@ -315,4 +315,4 @@ from django.utils.translation import ugettext as _
 </script>
 </div>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/shell/src/shell/templates/no_such_user.mako

@@ -27,4 +27,4 @@ ${commonheader(_('Hue Shell'), "shell")}
 
 </div>
 </div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
apps/shell/src/shell/templates/not_running_spawning.mako

@@ -24,4 +24,4 @@ ${commonheader(_('Hue Shell'), "shell")}
 	<h3>${_('The webserver currently running Hue does not support the Shell application. Please contact your administrator.')}</h3>
 </div>
 </div>
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
desktop/core/src/desktop/app_template/src/app_name/templates/index.mako

@@ -27,4 +27,4 @@ ${'#'}# Main body
   ## Pass through literal $
   <p>It's now ${'$'}{date}.</p>
 </div>
-${'$'}{commonfooter()}
+${'$'}{commonfooter(messages)}

+ 1 - 1
desktop/core/src/desktop/templates/404.mako

@@ -26,4 +26,4 @@ ${commonheader(_('Not Found'), "")}
     <code>${uri}</code>
   </div>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
desktop/core/src/desktop/templates/500.mako

@@ -24,4 +24,4 @@ ${commonheader(_('Error'), "")}
     <p>${_("Sorry, there's been an error. Please contact your site administrators. Thanks for your patience.")}</p>
   </div>
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
desktop/core/src/desktop/templates/check_config.mako

@@ -58,5 +58,5 @@ ${layout.menubar(section='check_config')}
     </div>
 
 
-${commonfooter()}
+${commonfooter(messages)}
 

+ 1 - 1
desktop/core/src/desktop/templates/dump_config.mako

@@ -109,4 +109,4 @@ ${layout.menubar(section='dump_config')}
 	</div>
 
 
-${commonfooter()}
+${commonfooter(messages)}

+ 1 - 1
desktop/core/src/desktop/templates/error.mako

@@ -31,5 +31,5 @@ ${commonheader(_('Error'), "")}
     %endif
   </div>
 
-${commonfooter()}
+${commonfooter(messages)}
 

+ 1 - 1
desktop/core/src/desktop/templates/logs.mako

@@ -37,4 +37,4 @@ ${smart_unicode(l) | h}
 
 	</div>
 
-${commonfooter()}
+${commonfooter(messages)}