Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AE UTBM
Sith
Commits
93e51776
Commit
93e51776
authored
Jan 13, 2017
by
Skia
🤘
Browse files
Merge branch 'eticketUpdate' into 'master'
partners banner added See merge request
!33
parents
5a305354
4a5d789d
Pipeline
#716
passed with stage
in 3 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/static/core/img/partners.png
0 → 100644
View file @
93e51776
28.5 KB
counter/views.py
View file @
93e51776
...
...
@@ -1092,6 +1092,13 @@ class EticketPDFView(CanViewMixin, DetailView):
renderPDF
.
draw
(
d
,
p
,
10.5
*
cm
-
130
,
6.1
*
cm
)
p
.
drawCentredString
(
10.5
*
cm
,
6
*
cm
,
code
)
partners
=
ImageReader
(
"core/static/core/img/partners.png"
)
width
,
height
=
partners
.
getSize
()
size
=
max
(
width
,
height
)
width
=
width
*
2
/
3
height
=
height
*
2
/
3
p
.
drawImage
(
partners
,
0
*
cm
,
0
*
cm
,
width
,
height
)
p
.
showPage
()
p
.
save
()
return
response
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment