Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
8467afee
Commit
8467afee
authored
Apr 24, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: add/update CV portal type fields and layout
parent
5a35a491
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
22 deletions
+46
-22
data/cv_creation.json
data/cv_creation.json
+12
-11
data/cv_fieldlist.json
data/cv_fieldlist.json
+1
-1
data/cv_module.json
data/cv_module.json
+15
-7
data/cv_sample.json
data/cv_sample.json
+17
-2
data/cv_upload.json
data/cv_upload.json
+1
-1
No files found.
data/cv_creation.json
View file @
8467afee
{
"portal_type_source"
:
"CV"
,
"portal_type_title"
:
"cv"
,
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:[
0
,
8
]},
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:[
0
,
1
]},
"property_dict"
:
{
"initial_query_url_identifier"
:
"_id"
,
"allow_new"
:
true
,
"skip_total_records"
:
true
"skip_total_records"
:
true
,
"submit_to"
:
"#cv_module/career&query:career_subordinate_id=__id__"
},
"scheme"
:
[{
"position"
:
"left"
,
...
...
@@ -14,13 +15,13 @@
{
"field"
:
"last_name"
},
{
"field"
:
"phone_number"
},
{
"field"
:
"email"
},
{
"type"
:
"hr"
,
"direct"
:
{
"className"
:
"ui-
ba
r-active"
}},
{
"type"
:
"hr"
,
"direct"
:
{
"className"
:
"ui-
hr ui-h
r-active"
}},
{
"field"
:
"street_address"
},
{
"field"
:
"postal_code"
,
"overrides"
:
{
"widget"
:{
"css_class"
:
"left"
,
"title"
:
"Zip/City"
,
"title_i18n"
:
null
}}},
{
"field"
:
"city"
,
"overrides"
:
{
"widgt"
:
{
"css_class"
:
"right"
},
"label"
:
false
}},
{
"field"
:
"state"
},
{
"field"
:
"country"
},
{
"type"
:
"hr"
,
"direct"
:
{
"className"
:
"ui-
ba
r-active"
}},
{
"type"
:
"hr"
,
"direct"
:
{
"className"
:
"ui-
hr ui-h
r-active"
}},
{
"field"
:
"nationality"
},
{
"field"
:
"date_of_birth"
}
]
...
...
@@ -29,11 +30,7 @@
"field_list"
:
[
{
"field"
:
"cv_title"
},
{
"field"
:
"cv_created"
,
"overrides"
:{
"widget"
:
{
"hidden"
:
true
}}},
{
"field"
:
"cv_photo_url"
,
"type"
:
"image"
}
]
},
{
"position"
:
"center"
,
"field_list"
:
[
{
"field"
:
"cv_photo_url"
,
"type"
:
"image"
},
{
"field"
:
"cv_personal_statement"
},
{
"field"
:
"cv_taglist"
},
{
"field"
:
"cv_techlist"
}
...
...
@@ -60,9 +57,13 @@
"direction"
:
"horizontal"
},
"children"
:
[{
"type"
:
"a"
,
"direct"
:
{
"href"
:
"#"
,
"className"
:
"translate ui-disabled ui-btn ui-btn-icon-left ui-icon-carat-l"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.cv_dict.text_dict.back"
}
},
{
"type"
:
"input"
,
"direct"
:
{
"
value"
:
"Submit"
,
"
className"
:
"action translate"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-action"
:
"update"
,
"data-icon"
:
"
save"
,
"data-i18n"
:
"[value]portal_type_dict.cv_dict.text_dict.save
"
}
"direct"
:
{
"className"
:
"action translate"
},
"attributes"
:
{
"type"
:
"submit"
,
"data-action"
:
"update"
,
"data-icon"
:
"
carat-r"
,
"data-theme"
:
"active"
,
"data-i18n"
:
"[value]portal_type_dict.cv_dict.text_dict.proceed_career
"
}
}]
}]
}]
...
...
data/cv_fieldlist.json
View file @
8467afee
...
...
@@ -77,7 +77,7 @@
"type"
:
"DateTimeField"
,
"widget"
:
{
"id"
:
"cv_created"
,
"title"
:
"
Date of birth (dd/mm/yyyy)
"
,
"title"
:
"
Created
"
,
"title_i18n"
:
"portal_type_dict.cv_dict.field_dict.cv_created.title"
,
"description"
:
"The date this CV was created"
,
"description_i18n"
:
"portal_type_dict.cv_dict.field_dict.cv_created.description"
,
...
...
data/cv_module.json
View file @
8467afee
...
...
@@ -12,13 +12,16 @@
"view_dict"
:
{
"default"
:
[{
"type"
:
"div"
,
"direct"
:
{
"className"
:
"ui-content-element span_2"
},
"children"
:
[
{
"direct"
:
{
"className"
:
"span_2"
},
"children"
:
[{
"type"
:
"div"
,
"direct"
:
{
"className"
:
"ui-content-element"
},
"children"
:
[{
"type"
:
"p"
,
"direct"
:
{
"className"
:
"translate"
},
"attributes"
:
{
"data-i18n"
:
"portal_type_dict.cv_dict.text_dict.info"
},
"logic"
:
{
"text"
:
"This is the area to manage your CVs. You can upload, edit and delete multiple CVs. To apply for a job, please click on the 'Apply' button on the respective job offer."
}
}]
}
]
},
{
...
...
@@ -39,6 +42,11 @@
}],
"new"
:
[{
"href"
:
"cv_creation"
}],
"career"
:
[{
"href"
:
"cv_career"
},
{
"href"
:
"cv_step_overview"
}]
}
}
...
...
data/cv_sample.json
View file @
8467afee
[
{
"_id"
:
"FOO"
,
"cv_title"
:
"Hello"
,
"cv_created"
:
"2014/12/04"
"cv_title"
:
"Sample CV"
,
"cv_created"
:
"2014/12/04"
,
"first_name"
:
"John"
,
"last_name"
:
"Doe"
,
"date_of_birth"
:
"1972/10/12"
,
"phone_number"
:
"+33 6 12 34 56"
,
"email"
:
"john.doe@some.where"
,
"street_address"
:
"
\n
86, Avenue de Test
\n
Appt.33"
,
"city"
:
"Lille"
,
"state"
:
null
,
"postal_code"
:
"12345"
,
"country"
:
"f"
,
"nationality"
:
"f"
,
"cv_photo_url"
:
null
,
"cv_taglist"
:
"javascript, jquery, jquerymobile"
,
"cv_personal_statement"
:
"Programming anything that starts with a 'j'..."
,
"cv_techlist"
:
"java, javascript"
}
]
\ No newline at end of file
data/cv_upload.json
View file @
8467afee
...
...
@@ -23,7 +23,7 @@
"position"
:
"header"
,
"field_list"
:
[
{
"field"
:
"cv_title"
,
"show"
:
true
,
"persist"
:
true
},
{
"field"
:
"cv_created"
,
"show"
:
true
,
"priority"
:
2
,
"overrides"
:
{
"widget"
:
{
"title
"
:
"Goo"
,
"title
_i18n"
:
"portal_type_dict.cv_dict.text_dict.date_set"
}}}
{
"field"
:
"cv_created"
,
"show"
:
true
,
"priority"
:
2
,
"overrides"
:
{
"widget"
:
{
"title_i18n"
:
"portal_type_dict.cv_dict.text_dict.date_set"
}}}
]
},{
"position"
:
"body"
,
...
...
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