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
 
@@ -99,23 +99,26 @@
 
          {key:"menu"},
 
          {key:"name"},
 
          {key:"desc"},
 
          {key:"last_change"},
 
          {key:"tip"},
 
          {key:"owner"},
 
          {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();
 
  });          
 
</script>   
 
</%def>    
rhodecode/templates/index_base.html
Show inline comments
 
@@ -171,22 +171,25 @@
 
              {key:"last_change"},
 
              {key:"tip"},
 
              {key:"owner"},
 
              {key:"rss"},
 
              {key:"atom"},
 
          ]
 
      };
 

	
 
      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);        
 
      });          
 
      
 
    </script>
 
\ No newline at end of file
rhodecode/templates/journal/journal.html
Show inline comments
 
@@ -189,27 +189,30 @@
 
    myDataSource.responseSchema = {
 
        fields: [
 
            {key:"menu"},
 
            {key:"name"},
 
            {key:"tip"},
 
            {key:"action1"},
 
            {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){
 
            return node.parentNode.parentNode.parentNode.parentNode;
 
        }        
 
        q_filter('q_filter',YUQ('#my tr td a.repo_name'),func);
 
    });      
 
    
 
    
0 comments (0 inline, 0 general)