View available new versions on dashboard

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12245 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-11-16 09:26:40 +00:00
parent 8a60464b18
commit a35ff711c4
6 changed files with 134 additions and 0 deletions

View file

@ -27,6 +27,14 @@
</block>
</ul>
</div>
<div class="message update" cond="count($newVersionList)">
<h2>{$lang->available_new_version}</h2>
<ul>
<li loop="$newVersionList => $key, $package" style="margin:0 0 4px 0">
[{$lang->typename[$package->type]}] {$package->title} ver. {$package->version} - <a href="{$package->url}&amp;return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->update}</a>
</li>
</ul>
</div>
<div class="dashboard">
<section class="status">
<h2>{$lang->current_state}</h2>