Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
c092698a
Commit
c092698a
authored
Feb 28, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put back 'position' and 'team_lab' in affiliation section
parent
8987e342
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
30 deletions
+30
-30
comex_user_shared.js
static/js/comex_user_shared.js
+2
-2
profile.html
templates/profile.html
+28
-28
No files found.
static/js/comex_user_shared.js
View file @
c092698a
...
...
@@ -51,7 +51,7 @@ var cmxClt = (function() {
[
"last_name"
,
true
,
"plsfill"
,
"t"
,
"basic_infos"
],
[
"country"
,
true
,
"plsfill"
,
"t"
,
"basic_infos"
],
[
"initials"
,
true
,
"pref"
,
"t"
,
null
],
[
"position"
,
true
,
"plsfill"
,
"t"
,
"
map
_infos"
],
[
"position"
,
true
,
"plsfill"
,
"t"
,
"
org
_infos"
],
[
"interests_text"
,
false
,
"pref"
,
"t"
,
"other_infos"
],
[
"gender"
,
false
,
"plsfill"
,
"m"
,
"other_infos"
],
[
"job_looking"
,
false
,
"pref"
,
"m"
,
"map_infos"
],
...
...
@@ -63,7 +63,7 @@ var cmxClt = (function() {
[
"org"
,
false
,
"plsfill"
,
"t"
,
"org_infos"
],
[
"org_type"
,
false
,
"plsfill"
,
"m"
,
"org_infos"
],
[
"team_lab"
,
true
,
"plsfill"
,
"t"
,
"
map
_infos"
],
[
"team_lab"
,
true
,
"plsfill"
,
"t"
,
"
org
_infos"
],
[
"org_city"
,
false
,
"pref"
,
"t"
,
"org_infos"
]
// ==> *affiliations* table
]
...
...
templates/profile.html
View file @
c092698a
...
...
@@ -279,34 +279,6 @@
<p
class=
"legend"
>
Please enter at least 5 keywords (press TAB or ENTER after each)
</p>
</div>
<div
class=
"question input-group"
>
<label
for=
"position"
class=
"smlabel input-group-addon"
>
* Job Position
</label>
<input
id=
"position"
name=
"position"
maxlength=
"30"
type=
"text"
class=
"form-control autocomp"
placeholder=
"titre"
onblur=
"cmxClt.makeBold(this)"
onfocus=
"cmxClt.makeNormal(this)"
value=
"{{ current_user.info.position }}"
>
</div>
<div
class=
"question"
>
<div
class=
"input-group"
>
<label
for=
"team_lab"
class=
"smlabel input-group-addon"
>
* Lab / Team / Dept
</label>
<input
id=
"team_lab"
name=
"team_lab"
maxlength=
"120"
type=
"text"
class=
"form-control"
placeholder=
"More detailed affiliation, if relevant"
value=
"{{ current_user.info.team_lab }}"
>
</div>
</div>
<!-- Lab city <=> only for France -->
<div
class=
"question conditional-q"
id=
"team_city_div"
>
<div
class=
"input-group"
>
<label
for=
"org_city"
class=
"smlabel input-group-addon"
>
Lab city
</label>
<input
id=
"org_city"
name=
"org_city"
maxlength=
"50"
type=
"text"
class=
"form-control"
placeholder=
"Ville de votre institution"
value=
"{{ current_user.info.org_city }}"
>
</div>
</div>
<h3
class=
"formcat"
>
About your future activities
</h3>
<div
class=
"question"
>
...
...
@@ -375,6 +347,14 @@
class=
"panel-body ccsection-uform-body panel-collapse collapse out"
role=
"tabpanel"
aria-expanded=
"false"
>
<div
class=
"question input-group"
>
<label
for=
"position"
class=
"smlabel input-group-addon"
>
* Job Position
</label>
<input
id=
"position"
name=
"position"
maxlength=
"30"
type=
"text"
class=
"form-control autocomp"
placeholder=
"titre"
onblur=
"cmxClt.makeBold(this)"
onfocus=
"cmxClt.makeNormal(this)"
value=
"{{ current_user.info.position }}"
>
</div>
<!-- ORG QUESTIONS -->
<div
class=
"question"
>
...
...
@@ -414,6 +394,26 @@
</div>
</div>
<!-- TEAM QUESTIONS -->
<div
class=
"question"
>
<div
class=
"input-group"
>
<label
for=
"team_lab"
class=
"smlabel input-group-addon"
>
* Lab / Team / Dept
</label>
<input
id=
"team_lab"
name=
"team_lab"
maxlength=
"120"
type=
"text"
class=
"form-control"
placeholder=
"More detailed affiliation, if relevant"
value=
"{{ current_user.info.team_lab }}"
>
</div>
</div>
<!-- Lab city <=> only for France -->
<div
class=
"question conditional-q"
id=
"team_city_div"
>
<div
class=
"input-group"
>
<label
for=
"org_city"
class=
"smlabel input-group-addon"
>
Lab city
</label>
<input
id=
"org_city"
name=
"org_city"
maxlength=
"50"
type=
"text"
class=
"form-control"
placeholder=
"Ville de votre institution"
value=
"{{ current_user.info.org_city }}"
>
</div>
</div>
</div>
<!-- /panel-body -->
<div
class=
"panel-footer ccsection-footer"
>
</div>
...
...
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