1) Fixed an issue where % displayed twice in explain analyze for query and table. Fixes #4847

2) Rename text 'table' with 'relation' in the statistic tab for explain analyze. Fixes #4849
This commit is contained in:
Rahul Shirsat
2021-03-12 11:40:17 +05:30
committed by Akshay Joshi
parent 9d8360641f
commit 03d3b8c03c
2 changed files with 7 additions and 5 deletions

View File

@@ -206,27 +206,27 @@ define('pgadmin.misc.explain', [
' <th class="renderable timings d-none"><button disabled>',
gettext('Time spent') ,'</button></th>',
' <th class="renderable timings d-none"><button disabled>',
gettext('%% of query') ,'</button></th>',
'% ', gettext('of query') ,'</button></th>',
' </tr>',
' </thead>',
' </table>',
' </div>',
' <div class="col-sm-6 col-xs-6">',
' <div class="col-xs-12 badge">',
gettext('Statistics per Table'),
gettext('Statistics per Relation'),
' </div>',
' <table class="backgrid table presentation table-bordered ',
' table-hover" for="per_table">',
' <thead>',
' <tr>',
' <th class="renderable"><button disabled>',
gettext('Table name') , '</button></th>',
gettext('Relation name') , '</button></th>',
' <th class="renderable"><button disabled>',
gettext('Scan count'), '</button></th>',
' <th class="renderable timings d-none"><button disabled>',
gettext('Total time') ,'</button></th>',
' <th class="renderable timings d-none"><button disabled>',
gettext('%% of query') ,'</button></th>',
'% ', gettext('of query') ,'</button></th>',
' </tr>',
' <tr>',
' <th class="renderable"><button disabled>',
@@ -236,7 +236,7 @@ define('pgadmin.misc.explain', [
' <th class="renderable timings d-none"><button disabled>',
gettext('Sum of times') ,'</button></th>',
' <th class="renderable timings d-none"><button disabled>',
gettext('%% of table') ,'</button></th>',
'% ', gettext('of relation') ,'</button></th>',
' </tr>',
' </thead>',
' </table>',