script archive basics
This commit is contained in:
parent
b946b3d941
commit
d86dff8c7b
|
@ -47,6 +47,29 @@ class Script(ItfModel):
|
|||
def __unicode__(self):
|
||||
return self.title
|
||||
|
||||
def list_dict(self):
|
||||
return {
|
||||
'id': self.id,
|
||||
'title': self.title,
|
||||
}
|
||||
|
||||
def info_dict(self):
|
||||
return {
|
||||
'title': self.title,
|
||||
'synopsis': self.synopsis,
|
||||
'no_characters': self.no_characters,
|
||||
'no_of_women': self.no_of_women,
|
||||
'production_notes': self.production_notes,
|
||||
'language': self.language,
|
||||
'approx_duration': self.approx_duration,
|
||||
'is_partial': self.is_partial,
|
||||
'author': self.author,
|
||||
'contact': self.contact,
|
||||
'script_file': self.script.url,
|
||||
'license_adapt': self.license_adapt,
|
||||
'license_perform': self.license_perform
|
||||
}
|
||||
|
||||
'''
|
||||
@classmethod
|
||||
def get_list(kls, data):
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<div>Dummy text for licenses</div>
|
||||
<div class="linksInnerOrange">
|
||||
<a href="" class="orange">Download PDF</a>
|
||||
<a href="" class="orange">Download PDF</a>
|
||||
</div>
|
|
@ -1,8 +0,0 @@
|
|||
<div class="thumbsGallery">
|
||||
<img src="" alt="" class="thumbsDetails">
|
||||
<img src="" alt="" class="thumbsDetails">
|
||||
<img src="" alt="" class="thumbsDetails">
|
||||
</div>
|
||||
|
||||
<div class="orange">Dummy title</div>
|
||||
<div>Dummy text</div>
|
3
itf/templates/modules/scriptbank/script.html
Normal file
3
itf/templates/modules/scriptbank/script.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="orange">{{ title }}</div>
|
||||
|
||||
<span class="orange">Synopsis: </span> {{ synopsis }}
|
Loading…
Reference in New Issue
Block a user