123456789101112131415161718192021222324252627282930313233 |
- {% extends app.template_style ~ "/layout/layout_1_col.tpl" %}
- {% block content %}
- <div id="settings">
- <div class="row">
- {% for role in app.admin_toolbar_roles %}
- {% include app.template_style ~ "/admin/" ~ role ~ "/role_index.tpl" %}
- {% endfor %}
- </div>
- </div>
- {% if is_granted('ROLE_ADMIN')%}
- <script>
- $(function() {
- //$("#settings").tabs();
- $.ajax({
- url:'{{ web_admin_ajax_url }}?a=version',
- success:function(version){
- $(".admin-block-version").html(version);
- }
- });
- });
- </script>
- <div class="row">
- <div class="span12">
- <div class="well_border">
- <h3>{{ 'VersionCheck' | trans }} </h3>
- <div class="admin-block-version"></div>
- </div>
- </div>
- </div>
- {% endif %}
- {% endblock %}
|