Changeset - b9539c4df92f
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 14 years ago 2011-12-17 04:17:12
marcin@python-works.com
Translations fixes for Data table
3 files changed with 16 insertions and 7 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/admin/repos/repos.html
Show inline comments
 
@@ -105,15 +105,18 @@
 
          {key:"action"},
 
      ]
 
  };
 

	
 
  var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,
 
          {
 
           sortedBy:{key:"name",dir:"asc"},
 
           MSG_SORTASC:"${_('Click to sort ascending')}",
 
           MSG_SORTDESC:"${_('Click to sort descending')}"
 
            sortedBy:{key:"name",dir:"asc"},
 
            MSG_SORTASC:"${_('Click to sort ascending')}",
 
            MSG_SORTDESC:"${_('Click to sort descending')}",
 
            MSG_EMPTY:"${_('No records found.')}",
 
            MSG_ERROR:"${_('Data error.')}",
 
            MSG_LOADING:"${_('Loading...')}",                
 
          }
 
  );
 
  myDataTable.subscribe('postRenderEvent',function(oArgs) {
 
      tooltip_activate();
 
      quick_repo_menu();
 
  });          
rhodecode/templates/index_base.html
Show inline comments
 
@@ -177,13 +177,16 @@
 
      };
 

	
 
      var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,
 
              {
 
               sortedBy:{key:"name",dir:"asc"},
 
               MSG_SORTASC:"${_('Click to sort ascending')}",
 
               MSG_SORTDESC:"${_('Click to sort descending')}"
 
               MSG_SORTDESC:"${_('Click to sort descending')}",
 
               MSG_EMPTY:"${_('No records found.')}",
 
               MSG_ERROR:"${_('Data error.')}",
 
               MSG_LOADING:"${_('Loading...')}",                
 
              }
 
      );
 
      myDataTable.subscribe('postRenderEvent',function(oArgs) {
 
          tooltip_activate();
 
          quick_repo_menu();
 
          q_filter('q_filter',YUQ('div.table tr td a.repo_name'),func);        
rhodecode/templates/journal/journal.html
Show inline comments
 
@@ -195,15 +195,18 @@
 
            {key:"action2"}
 
        ]
 
    };
 

	
 
    var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,
 
            {
 
             sortedBy:{key:"name",dir:"asc"},
 
             MSG_SORTASC:"${_('Click to sort ascending')}",
 
             MSG_SORTDESC:"${_('Click to sort descending')}"
 
              sortedBy:{key:"name",dir:"asc"},
 
              MSG_SORTASC:"${_('Click to sort ascending')}",
 
              MSG_SORTDESC:"${_('Click to sort descending')}",
 
              MSG_EMPTY:"${_('No records found.')}",
 
              MSG_ERROR:"${_('Data error.')}",
 
              MSG_LOADING:"${_('Loading...')}",                
 
            }
 
    );
 
    myDataTable.subscribe('postRenderEvent',function(oArgs) {
 
        tooltip_activate();
 
        quick_repo_menu();
 
        var func = function(node){
0 comments (0 inline, 0 general)