linebreaksbr for script licenses

This commit is contained in:
Sanjay B 2013-08-12 16:04:47 +05:30
parent ad9ff6ea74
commit a6ca7d815c
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -53,7 +53,7 @@ $(function() {
<a href="" class="toggleLink">Adaptation License: {{ license_adapt.name }}</a>
<div class="toggleDiv">
<p>{{ license_adapt.short_description }} <span style="color:red;">Does this need to be an accordion?</span></p>
<p>{{ license_adapt.short_description|linebreaksbr }} <span style="color:red;">Does this need to be an accordion?</span></p>
<a href="{{ license_adapt.legal_file.url }}" target="_blank" class="block">Read legal version</a>
</div>
@ -62,7 +62,7 @@ $(function() {
<a href="" class="toggleLink">Performance License: {{ license_perform.name }}</a>
<div class="toggleDiv">
<p>{{ license_perform.short_description }} </p>
<p>{{ license_perform.short_description|linebreaksbr }} </p>
<a href="{{ license_perform.legal_file.url }}" target="_blank" class="block">Read legal version</a>
</div>