From a6ca7d815ca0cf039e4d80eae796b3cab7ab06be Mon Sep 17 00:00:00 2001 From: Sanjay B Date: Mon, 12 Aug 2013 16:04:47 +0530 Subject: [PATCH] linebreaksbr for script licenses --- itf/itfprofiles/admin.py | 1 + itf/templates/modules/scriptbank/script.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/itf/itfprofiles/admin.py b/itf/itfprofiles/admin.py index f1f4855..c540e42 100755 --- a/itf/itfprofiles/admin.py +++ b/itf/itfprofiles/admin.py @@ -52,6 +52,7 @@ class CityAdmin(admin.ModelAdmin): admin.site.register(Occupation, OccupationAdmin) +admin.site.register(GroupOccupation) admin.site.register(Relation, RelationAdmin) admin.site.register(TheatreGroup, TheatreGroupAdmin) admin.site.register(Person) diff --git a/itf/templates/modules/scriptbank/script.html b/itf/templates/modules/scriptbank/script.html index 133231f..c2f0a37 100755 --- a/itf/templates/modules/scriptbank/script.html +++ b/itf/templates/modules/scriptbank/script.html @@ -53,7 +53,7 @@ $(function() { Adaptation License: {{ license_adapt.name }}
-

{{ license_adapt.short_description }} Does this need to be an accordion?

+

{{ license_adapt.short_description|linebreaksbr }} Does this need to be an accordion?

Read legal version
@@ -62,7 +62,7 @@ $(function() { Performance License: {{ license_perform.name }}
-

{{ license_perform.short_description }}

+

{{ license_perform.short_description|linebreaksbr }}

Read legal version