diff --git a/aircox/templates/aircox/edit-link.html b/aircox/templates/aircox/edit-link.html index 8eb0415..03ea955 100644 --- a/aircox/templates/aircox/edit-link.html +++ b/aircox/templates/aircox/edit-link.html @@ -4,15 +4,17 @@ {% if user.is_authenticated and can_edit %} {% with request.resolver_match.view_name as view_name %}   - {% if view_name in 'program-edit,bla' %} + {% if view_name in 'page-edit,program-edit,episode-edit' %} {% else %} - {% translate 'Edit' %} 🖉 + {% translate 'Edit' %} + {% endif %} {% endwith %}