Skip to content

Commit

Permalink
Remove template tag truncchar and stop using it, it's overkill
Browse files Browse the repository at this point in the history
  • Loading branch information
souen committed Mar 12, 2012
1 parent 0e61dcc commit 29c8128
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
3 changes: 1 addition & 2 deletions massadmin/templates/admin/mass_change_form.html
@@ -1,6 +1,5 @@
{% extends "admin/base_site.html" %}
{% load i18n admin_modify adminmedia massadmin_tags %}
{% load truncchar %}

{% block extrahead %}{{ block.super }}
<script type="text/javascript" src="../../../jsi18n/"></script>
Expand All @@ -18,7 +17,7 @@
<a href="../../../">{% trans "Home" %}</a> &rsaquo;
<a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
{% if has_change_permission %}<a href="../../{{ opts.object_name.lower }}/">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo;
{% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ object_ids|truncchar:50 }}{% endif %}
{% trans "Mass change" %} {{ opts.verbose_name }}
</div>
{% endif %}{% endblock %}

Expand Down
38 changes: 0 additions & 38 deletions massadmin/templatetags/truncchar.py

This file was deleted.

0 comments on commit 29c8128

Please sign in to comment.