diff --git a/machines/templates/machines/aff_alias.html b/machines/templates/machines/aff_alias.html index fb3f0486..f19b6482 100644 --- a/machines/templates/machines/aff_alias.html +++ b/machines/templates/machines/aff_alias.html @@ -38,7 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit alias %} {% include 'buttons/edit.html' with href='machines:edit-alias' id=alias.id %} {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='alias' id=alias.id %} + {% include 'buttons/history.html' with href='machines:history' name='domain' id=alias.id %} {% endfor %} diff --git a/re2o/views.py b/re2o/views.py index 6aa791f4..83cd7630 100644 --- a/re2o/views.py +++ b/re2o/views.py @@ -89,7 +89,7 @@ HISTORY_BIND = { 'machines' : { 'machine' : machines.models.Machine, 'interface' : machines.models.Interface, - 'alias' : machines.models.Domain, + 'domain' : machines.models.Domain, 'machinetype' : machines.models.MachineType, 'iptype' : machines.models.IpType, 'extension' : machines.models.Extension,