Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chill-project
Chill-ICPC2
Commits
20a0b8f5
Commit
20a0b8f5
authored
Nov 13, 2014
by
Julien Fastré
Browse files
take into account during rendering that icpc may not be picked refs #303
parent
58324e7f
Changes
1
Show whitespace changes
Inline
Side-by-side
CustomField/CustomFieldICPC2Code.php
View file @
20a0b8f5
...
@@ -97,6 +97,10 @@ class CustomFieldICPC2Code implements CustomFieldInterface
...
@@ -97,6 +97,10 @@ class CustomFieldICPC2Code implements CustomFieldInterface
{
{
$code
=
$this
->
deserialize
(
$value
,
$customField
);
$code
=
$this
->
deserialize
(
$value
,
$customField
);
if
(
NULL
===
$code
)
{
return
''
;
}
return
$this
->
templating
->
render
(
"ChillICPC2Bundle:CustomFieldsRendering:"
return
$this
->
templating
->
render
(
"ChillICPC2Bundle:CustomFieldsRendering:"
.
"icpc2.html.twig"
,
array
(
.
"icpc2.html.twig"
,
array
(
'icpc'
=>
$code
'icpc'
=>
$code
...
...
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