blackboard view fix
This commit is contained in:
@@ -16,3 +16,12 @@ div.footer {
|
|||||||
.footer a i {
|
.footer a i {
|
||||||
font-size:30px;
|
font-size:30px;
|
||||||
}
|
}
|
||||||
|
a.thumbnail {
|
||||||
|
width: 150px;
|
||||||
|
height: 150px;
|
||||||
|
}
|
||||||
|
a.thumbnail img {
|
||||||
|
width: 150px;
|
||||||
|
height: 150px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
@@ -53,7 +53,9 @@ class JobPosting(models.Model):
|
|||||||
encoding = locale.getpreferredencoding()
|
encoding = locale.getpreferredencoding()
|
||||||
args = [a.encode(encoding) for a in args]
|
args = [a.encode(encoding) for a in args]
|
||||||
|
|
||||||
ghostscript.Ghostscript(*args)
|
#ghostscript.Ghostscript(*args)
|
||||||
|
with ghostscript.Ghostscript(*args) as g:
|
||||||
|
ghostscript.cleanup()
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
super().save(*args, **kwargs)
|
super().save(*args, **kwargs)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
Mindestgehalt: {{job.salary}}€</p>
|
Mindestgehalt: {{job.salary}}€</p>
|
||||||
{# only thumb and name of member #}
|
{# only thumb and name of member #}
|
||||||
<a class="thumbnail member-thumb" href="{{job.pdfLocation.url}}" style="width:200px;height:280px" target="_blank">
|
<a class="thumbnail member-thumb" href="{{job.pdfLocation.url}}" style="width:200px;height:280px" target="_blank">
|
||||||
<img src="{{job.pdf_thumb_location}}" alt="" />
|
<img style="width:200px;height:280px" src="{{job.pdf_thumb_location}}" alt="" />
|
||||||
<div class="thumb-layer">
|
<div class="thumb-layer">
|
||||||
<div>
|
<div>
|
||||||
<h1>{{job.companyName}}</h1>
|
<h1>{{job.companyName}}</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user