diff --git a/module/block/js/dashboard.js b/module/block/js/dashboard.js
index 63f476ff44..63785ed6e9 100644
--- a/module/block/js/dashboard.js
+++ b/module/block/js/dashboard.js
@@ -64,8 +64,10 @@ function resizeBlock(blockID, width, callback)
function refreshBlock($panel, afterRefresh)
{
var url = $panel.data('url');
+ var headers = {};
+ if(forceRefresh) headers['X-Zt-Refresh'] = forceRefresh;
$panel.addClass('load-indicator loading');
- $.ajax({url: url, dataType: 'html'}).done(function(data)
+ $.ajax({url: url, dataType: 'html', headers: headers}).done(function(data)
{
var $data = $(data);
if($data.hasClass('panel')) $panel.empty().append($data.children());
@@ -284,7 +286,7 @@ $(function()
always: function(){sortMessager.isShow && sortMessager.hide();}
}).on('click', '.refresh-panel', function()
{
- refreshBlock($(this).closest('.panel'));
+ refreshBlock($(this).closest('.panel'), null, 1);
});
});
diff --git a/module/block/view/executionblock.html.php b/module/block/view/executionblock.html.php
index aa1d3d527e..79c6b1be7e 100644
--- a/module/block/view/executionblock.html.php
+++ b/module/block/view/executionblock.html.php
@@ -56,12 +56,12 @@
-
hours->totalEstimate . $lang->execution->workHourUnit;?> |
- hours->totalLeft . $lang->execution->workHourUnit;?> |
+ estimate . $lang->execution->workHourUnit;?> |
+ left . $lang->execution->workHourUnit;?> |
- |
diff --git a/module/block/view/productblock.html.php b/module/block/view/productblock.html.php
index 6b0b237be1..d8e1adde09 100644
--- a/module/block/view/productblock.html.php
+++ b/module/block/view/productblock.html.php
@@ -42,10 +42,10 @@
id, '');?>
|
- plans?> |
- releases?> |
- stories['active']?> |
- unResolved?> |
+ plans;?> |
+ releases;?> |
+ activeStories;?> |
+ unresolvedBugs;?> |
diff --git a/module/block/view/recentprojectblock.html.php b/module/block/view/recentprojectblock.html.php
index da19da4548..cd3e14a250 100644
--- a/module/block/view/recentprojectblock.html.php
+++ b/module/block/view/recentprojectblock.html.php
@@ -102,7 +102,7 @@
- hours->progress;?>%
+ progress;?>%
diff --git a/module/block/view/scrumlistblock.html.php b/module/block/view/scrumlistblock.html.php
index 8d08bf51c3..a5a8748b3d 100644
--- a/module/block/view/scrumlistblock.html.php
+++ b/module/block/view/scrumlistblock.html.php
@@ -56,13 +56,13 @@
- hours->totalEstimate . $lang->execution->workHourUnit;?> |
- hours->totalConsumed . $lang->execution->workHourUnit;?> |
- hours->totalLeft . $lang->execution->workHourUnit;?> |
+ estimate . $lang->execution->workHourUnit;?> |
+ consumed . $lang->execution->workHourUnit;?> |
+ left . $lang->execution->workHourUnit;?> |
- |