Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
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
edx
edx-platform
Commits
d6e89e7b
Commit
d6e89e7b
authored
Sep 06, 2017
by
Harry Rein
Committed by
GitHub
Sep 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15956 from edx/HarryRein/LEARNER-2485-profile-issues
LEARNER-2485: Fix styling issues on learner profile.
parents
f1c574cf
d0bc499f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
lms/static/sass/features/_learner-profile.scss
+10
-9
openedx/features/learner_profile/static/learner_profile/js/views/learner_profile_view.js
+3
-0
openedx/features/learner_profile/templates/learner_profile/learner_profile.html
+1
-2
No files found.
lms/static/sass/features/_learner-profile.scss
View file @
d6e89e7b
...
...
@@ -325,8 +325,8 @@
margin
:
0
$baseline
/
2
;
.social-links
{
@include
padding
(
$baseline
/
4
,
0
,
0
,
$baseline
/
4
);
font-size
:
2rem
;
padding-top
:
$baseline
/
4
;
&
>
span
{
color
:
$gray-l4
;
...
...
@@ -348,33 +348,34 @@
}
.u-field
{
@extend
%t-weight4
;
font-weight
:
$font-semibold
;
@include
padding
(
0
,
0
,
0
,
3px
);
color
:
$base-font-color
;
margin-top
:
$baseline
/
5
;
.u-field-value
,
.u-field-title
{
@extend
%t-weight4
;
font-weight
:
500
;
width
:
calc
(
100%
-
40px
);
color
:
$lightest-base-font-color
;
}
.u-field-value-readonly
{
@extend
%t-weight3
;
font-family
:
$sans-serif
;
color
:
$darkest-base-font-color
;
}
.u-field-title
{
color
:
$lightest-base-font-color
;
display
:
block
;
}
&
.u-field-dropdown
{
position
:
relative
;
&
:not
(
.editable-never
)
{
cursor
:
pointer
;
}
}
&
:not
(
.u-field-readonly
)
{
&
.u-field-value
{
@extend
%t-weight3
;
}
&
:not
(
:last-child
)
{
padding-bottom
:
$baseline
/
4
;
...
...
openedx/features/learner_profile/static/learner_profile/js/views/learner_profile_view.js
View file @
d6e89e7b
...
...
@@ -118,6 +118,9 @@
fieldView
.
delegateEvents
();
}
// Clear existing content in user profile card
this
.
$
(
'.profile-section-one-fields'
).
html
(
''
);
// Do not show name when in limited mode or no name has been set
if
(
this
.
showFullProfile
()
&&
this
.
options
.
accountSettingsModel
.
get
(
'name'
))
{
this
.
$
(
'.profile-section-one-fields'
).
append
(
this
.
options
.
nameFieldView
.
render
().
el
);
...
...
openedx/features/learner_profile/templates/learner_profile/learner_profile.html
View file @
d6e89e7b
...
...
@@ -53,11 +53,10 @@ from openedx.core.djangolib.markup import HTML
</div>
</div>
<div
class=
"wrapper-profile-section-container-two is-hidden"
>
<div
class=
"wrapper-profile-bio"
></div>
% if achievements_fragment:
${HTML(achievements_fragment.body_html())}
% endif
<div
class=
"wrapper-profile-bio"
>
</div>
</div>
</div>
</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