Files
modoboa/admin/templates/admin/listing.html
T
Antoine Nguyen 06268041c1 Various changes:
* Updated *Settings* section
* Users can now change their first/last name (see #268)
* *admin* and *userprefs* templates moved to their respective application folders (see #245)
2012-06-19 16:57:08 +02:00

23 lines
787 B
HTML

{% extends "admin/header.html" %}{% load i18n admin_extras libextras %}
{% block html_head %}
{{ block.super }}
<script type="text/javascript" src="{{ STATIC_URL }}js/dynamic_input.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#searchquery").focus(function() {
$(this).attr("value", "");
}).blur(function() {
var $this = $(this);
if ($this.attr("value") == "") {
$this.attr("value", {% if squery %}"{{ squery }}"{% else %}"{% trans 'Search' %}"{% endif %});
}
});
});
</script>
{% endblock %}
{% block leftcol %}{% get_extra_admin_content user "leftcol" selection %}{% endblock %}
{% block apparea %}
{{ table|safe }}
{% endblock %}
{% block footerright %}{% pagination_bar page %}{% endblock %}