From f1bd1ca674b9e554402b6c08bc71157f624b5f1b Mon Sep 17 00:00:00 2001 From: David Taylor Date: Thu, 7 Apr 2016 00:52:33 +0100 Subject: [PATCH] Make 'created' noun class-specific. Closes #185 --- RIGS/templates/RIGS/activity_table.html | 2 +- RIGS/templates/RIGS/version_history.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RIGS/templates/RIGS/activity_table.html b/RIGS/templates/RIGS/activity_table.html index 1d491663..049e9aad 100644 --- a/RIGS/templates/RIGS/activity_table.html +++ b/RIGS/templates/RIGS/activity_table.html @@ -72,7 +72,7 @@ {{ version.revision.user.name }} {% if version.old == None %} - Object Created + {{object|to_class_name}} Created {% else %} {% include 'RIGS/version_changes.html' %} {% endif %} diff --git a/RIGS/templates/RIGS/version_history.html b/RIGS/templates/RIGS/version_history.html index 924ea148..3261c5df 100644 --- a/RIGS/templates/RIGS/version_history.html +++ b/RIGS/templates/RIGS/version_history.html @@ -47,7 +47,7 @@ {{ version.revision.user.name }} {% if version.old == None %} - Object Created + {{object|to_class_name}} Created {% else %} {% include 'RIGS/version_changes.html' %} {% endif %}