linebreaksbr for script licenses
This commit is contained in:
parent
ad9ff6ea74
commit
a6ca7d815c
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user