Browse Source

AMBARI-5361. Total number of jobs is incorrect on the 'jobs' link. (srimanth)

Srimanth Gunturi 11 years ago
parent
commit
1212459212
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ambari-web/app/messages.js
  2. 1 1
      ambari-web/app/views/main/jobs_view.js

+ 1 - 1
ambari-web/app/messages.js

@@ -1833,7 +1833,7 @@ Em.I18n.translations = {
   'jobs.type':'Jobs Type',
   'jobs.type.hive':'Hive',
   'jobs.show.up.to':'Show up to',
-  'jobs.filtered.jobs':'{0} of {1} jobs showing',
+  'jobs.filtered.jobs':'{0} jobs showing',
   'jobs.filtered.clear':'clear filters',
   'jobs.column.id':'Id',
   'jobs.column.user':'User',

+ 1 - 1
ambari-web/app/views/main/jobs_view.js

@@ -171,7 +171,7 @@ App.MainJobsView = App.TableView.extend({
    * @returns {String}
    */
   filteredJobs: function () {
-    return Em.I18n.t('jobs.filtered.jobs').format(this.get('controller.content.length'), this.get('controller.filterObject.jobsLimit'));
+    return Em.I18n.t('jobs.filtered.jobs').format(this.get('controller.content.length'));
   }.property('controller.content.length', 'controller.totalOfJobs'),
 
   pageContentObserver: function () {