Add an admin_footer template.
[bugdar.git] / admin / templates / admin_index.tpl
1 {%#import 'admin_header'%}
2
3 Hello World via Templates
4
5 {% if ($new_version_number): %}
6 <div style="background-color: white; border-color: red; border-width: 2px; border-style: solid; color: red; padding: 4px">
7 <div style="font-size: 18px; font-weight: bold">{%=T('Update Avaliable')%}:</div>
8 {%=sprintf(T('Your installation of Bugdar is out-of-date. You are running version <strong>%1$s</strong> and the latest version is <strong>%2$s</strong>. You can download the update at <a href="https://www.bluestatic.org">Blue Static\'s website</a>. You are strongly encouraged to apply all updates to fix bugs and any security issues (if present).'), $current_version, $new_version_number) | raw %}
9 </div>
10 {% else: %}
11 <div style="background-color: white; border-color: green; border-width: 2px; border-style: solid; color: green; padding: 4px">
12 <div style="font-size: 18px; font-weight: bold">{%=T('Up-to-Date')%}:</div>
13 {%=sprintf(T('Your installation of Bugdar is up-to-date. You are running version <strong>%1$s</strong>.'), $current_version) | raw %}
14 </div>
15 {% endif %}
16
17 {%#import 'admin_footer'%}