Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Admin
Commits
d22a8b30
Commit
d22a8b30
authored
5 months ago
by
Arnaud Levy
Browse files
Options
Downloads
Patches
Plain Diff
Fix #2269
parent
6a3738e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/views/api/lheo/index.xml.erb
+16
-9
16 additions, 9 deletions
app/views/api/lheo/index.xml.erb
with
16 additions
and
9 deletions
app/views/api/lheo/index.xml.erb
+
16
−
9
View file @
d22a8b30
<?xml version="1.0" encoding="utf-8"?>
<lheo
xmlns=
"http://lheo.gouv.fr/2.3"
>
<offres>
<%
@programs
.
each
do
|
program
|
%>
<%
@programs
.
each
do
|
program
|
program_l10n
=
program
.
original_localization
if
program
.
schools
.
any?
school
=
program
.
schools
.
first
school_l10n
=
school
.
original_localization
end
%>
<formation>
<domaine-formation>
<code-FORMACODE>
...
</code-FORMACODE>
<code-NSF>
...
</code-NSF>
<code-ROME>
...
</code-ROME>
<code-FORMACODE></code-FORMACODE>
<code-NSF></code-NSF>
<code-ROME></code-ROME>
</domaine-formation>
<intitule-formation><
![
CDATA
[
<%=
program
.
name
%>
]]
></intitule-formation>
<intitule-formation><
![
CDATA
[
<%=
program
_l10n
.
name
%>
]]
></intitule-formation>
<%
if
program
.
schools
.
any?
%>
<nom-organisme><
![
CDATA
[
<%=
program
.
schools
.
first
.
name
%>
]]
></nom-organisme>
<nom-organisme><
![
CDATA
[
<%=
school_l10n
.
name
%>
]]
></nom-organisme>
<%
end
%>
<objectif-formation><
![
CDATA
[
<%=
program
.
best_objectives
%>
]]
></objectif-formation>
<resultats-attendus><
![
CDATA
[
<%=
program
.
best_results
%>
]]
></resultats-attendus>
<contenu-formation><
![
CDATA
[
<%=
program
.
best_content
%>
]]
></contenu-formation>
<objectif-formation><
![
CDATA
[
<%=
program
_l10n
.
best_objectives
%>
]]
></objectif-formation>
<resultats-attendus><
![
CDATA
[
<%=
program
_l10n
.
best_results
%>
]]
></resultats-attendus>
<contenu-formation><
![
CDATA
[
<%=
program
_l10n
.
best_content
%>
]]
></contenu-formation>
<certifiante>
1
</certifiante>
</formation>
<%
end
%>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment