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
groupe-calcul
website
Commits
333de5bd
Commit
333de5bd
authored
Feb 11, 2020
by
Roland Denis
Browse files
Adding "Concours" job offer type
parent
c1b29f1f
Pipeline
#6058
passed with stages
in 49 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
content/job_offers/add_job_offer.py
View file @
333de5bd
...
@@ -97,7 +97,8 @@ JOBOFFER_TYPE = {
...
@@ -97,7 +97,8 @@ JOBOFFER_TYPE = {
'cdd'
:
'CDD'
,
'cdd'
:
'CDD'
,
'postdoc'
:
'Post-doctorat'
,
'postdoc'
:
'Post-doctorat'
,
'these'
:
'Thèse'
,
'these'
:
'Thèse'
,
'stage'
:
'Stage'
'stage'
:
'Stage'
,
'concours'
:
'Concours'
,
}
}
PELICAN_JOB_OFFER_PATH
=
'content/job_offers'
PELICAN_JOB_OFFER_PATH
=
'content/job_offers'
...
...
pelicanconf.py
View file @
333de5bd
...
@@ -149,6 +149,7 @@ JOB_OFFER_TAGS = {
...
@@ -149,6 +149,7 @@ JOB_OFFER_TAGS = {
'postdoc'
:
'Post-doc'
,
'postdoc'
:
'Post-doc'
,
'these'
:
'Thèse'
,
'these'
:
'Thèse'
,
'stage'
:
'Stage'
,
'stage'
:
'Stage'
,
'concours'
:
'Concours'
,
}
}
# We don't need authors pages
# We don't need authors pages
...
...
themes/calcul/templates/job_offer.html
View file @
333de5bd
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<span>
{{ article.job_employer }}
</span>
<span>
{{ article.job_employer }}
</span>
</div>
</div>
{% endif %}
{% endif %}
{% if article.job_duration and article.job_type != 'CDI' %}
{% if article.job_duration and article.job_type != 'CDI'
and article.job_type != 'Concours'
%}
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<img
src=
"{{ SITEURL }}/theme/img/calendrier_full.png"
alt=
"Durée du contrat"
/><br/>
<img
src=
"{{ SITEURL }}/theme/img/calendrier_full.png"
alt=
"Durée du contrat"
/><br/>
<span>
{{ article.job_duration }}
</span>
<span>
{{ article.job_duration }}
</span>
...
...
themes/calcul/templates/job_offer_form.html
View file @
333de5bd
...
@@ -138,7 +138,8 @@
...
@@ -138,7 +138,8 @@
});
});
function
update_duration_availability
()
{
function
update_duration_availability
()
{
var
is_cdi
=
document
.
getElementsByName
(
"
job_type
"
)[
0
].
value
==
'
cdi
'
;
var
job_type
=
document
.
getElementsByName
(
"
job_type
"
)[
0
].
value
;
var
is_cdi
=
job_type
==
'
cdi
'
||
job_type
==
'
concours
'
;
document
.
getElementsByName
(
"
duration
"
)[
0
].
disabled
=
is_cdi
;
document
.
getElementsByName
(
"
duration
"
)[
0
].
disabled
=
is_cdi
;
document
.
getElementById
(
"
duration_field
"
).
style
.
opacity
=
is_cdi
?
'
0.5
'
:
'
initial
'
;
document
.
getElementById
(
"
duration_field
"
).
style
.
opacity
=
is_cdi
?
'
0.5
'
:
'
initial
'
;
}
}
...
...
Write
Preview
Markdown
is supported
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