/modules/mod_admin/templates/admin.tpl
https://code.google.com/p/zotonic/ · Smarty Template · 55 lines · 39 code · 16 blank · 0 comment · 8 complexity · 6fb880dcf2c20f3976e0e8a24a2b7e3b MD5 · raw file
- {% extends "admin_base.tpl" %}
- {% block title %}{_ Dashboard _}{% endblock %}
- {% block content %}
- <div id="content" class="zp-85">
- <div class="block clearfix">
- <h2>{_ Dashboard _}</h2>
- <div class="clearfix">
- {% all include "_admin_make_page_buttons.tpl" %}
- {% button class=""
- text=_"Make a new page"
- action={dialog_new_rsc title=""} %}
- {% button class=""
- text=_"Make a new media item"
- action={dialog_media_upload title=""}
- disabled=(not m.acl.insert.media and not m.acl.insert.image) %}
- </div>
- <hr class="clear" />
-
- <div class="zp-50">
- {# Latest modified texts #}
- {% include "admin_widget_dashboard_latest.tpl" cat="text" headline=_"Latest modified texts" %}
- {# Latest modified persons #}
- {% include "admin_widget_dashboard_latest.tpl" cat="person" headline=_"Latest modified persons" %}
- </div>
- <div class="zp-50">
- {# Latest modified locations #}
- {% if m.rsc['location'].id and m.acl.view['location'] %}
- {% include "admin_widget_dashboard_latest.tpl" cat="location" headline=_"Latest modified locations" last=1 %}
- {% endif %}
- {# Latest modified events #}
- {% if m.rsc['event'].id and m.acl.view['event'] %}
- {% include "admin_widget_dashboard_latest.tpl" cat="event" headline=_"Latest modified events" last=1 %}
- {% endif %}
- {# Latest modified media items #}
- {% include "admin_widget_dashboard_latest.tpl" cat="media" headline=_"Latest modified media items" media=1 last=1 %}
- </div>
- </div>
- <div class="push"></div>
- </div>
- {% endblock %}