Render the project activity value in the activity bar's title tag.

This commit is contained in:
Thomas Keller 2011-12-24 03:09:46 +01:00
parent 65aa830c87
commit 17c6ba97d6

View File

@ -23,7 +23,8 @@
</div>
{/if}
{if $p.current_activity_value}
<div class="activity" title="{trans 'Project activity'}"><div class="bar" style="width: {$p.current_activity_value * 100}%"></div></div>
{assign $activity = $p.current_activity_value * 100}
<div class="activity" title="{blocktrans}Project activity: {$activity}%{/blocktrans}"><div class="bar" style="width: {$activity}%"></div></div>
{/if}
</div>
<p>