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
La Quadrature du Net
piphone
piphone-front
Commits
d302ce9b
Commit
d302ce9b
authored
Jan 25, 2017
by
okhin
Browse files
Using the photo_url
parent
8a89a8e3
Pipeline
#815
passed with stage
in 1 second
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
app/Main.php
View file @
d302ce9b
...
...
@@ -24,7 +24,6 @@ class Main extends Controller {
$f3
->
set
(
'group_types'
,
$group_types
);
$f3
->
set
(
'contact'
,
$contacts
[
$rand_id
]);
$f3
->
set
(
'random'
,
rand
(
0
,
2
));
$f3
->
set
(
'block_content'
,
'home.html'
);
}
...
...
templates/contact.html
View file @
d302ce9b
...
...
@@ -4,7 +4,7 @@
<div
class=
"col-sm-12"
>
<!-- image à gauche -->
<div
class=
"col-md-2 col-sm-4 hidden-xs"
>
<img
class=
"img-responsive img-circle"
src=
"
static/img/base{{ @random }}.jpg
"
width=
"140px"
alt=
"
mep
"
>
<img
class=
"img-responsive img-circle"
src=
"
{{ @contact.photo }}
"
width=
"140px"
alt=
""
>
<!-- infos -->
<div
class=
"visible-sm-block"
>
<address
style=
"margin-top:1em;"
>
...
...
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