Awais Qureshi
07b182b3be
BOM-2335
...
Apply pylint-amnesty.
2021-02-04 16:37:41 +05:00
Michael Terry
40fbef4af2
AA-289: rewrite how course updates behave when dismissed
...
Previously, dismissing one course update would disable all future
updates. But that feels a bit limiting.
Instead, these are the new rules:
- If the newest update has not been dismissed yet, it gets displayed.
- If the newest update has been dismissed, we display nothing.
- Editing the newest update will cause it to be displayed again.
- New updates get displayed, even if previous updates were dismissed.
This commit includes a light refactoring and addition of some utility
methods to help manage the above.
It also notes that the learning MFE does not use the "latest_update"
waffle option, which controls the labeling of the update message.
2020-11-12 09:39:15 -05:00
morenol
68d1c7f78c
[BD-10] Remove _uses_pattern_library property from EdxFragmentViews ( #24536 )
2020-07-27 12:01:40 -04:00
Aura M. Alba
0ad20bd5b9
Remove pattern library of course_experience/latest-update-fragment.html
2020-05-29 11:52:44 -05:00
Carla Duarte
6fd6605eed
Remove Shorten Welcome Message flag
...
Removed use of the 'shorten_welcome_message' waffle flag
AA-108
2020-05-08 15:25:59 -04:00
Michael Terry
7a71356cd2
Cut off long course welcome messages
...
If a course welcome message is very long, cut it off with an
ellipsis and show a Show More button to reveal the full thing.
AA-46
2020-04-07 10:49:40 -04:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Ana Maria Rodriguez
d2f7acf29c
INCR-193
...
Run python-modernize on openedx/features/course_experience/views and openedx/features/course_experience/tests
2019-04-24 13:52:53 -05:00
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Diana Huang
dcf528a597
Add new latest-update fragment and waffle flag.
2017-08-16 13:58:56 -04:00
Diana Huang
378b1f86c6
Replace urls in plan html updates.
2017-07-03 15:03:29 -04:00
Harry Rein
a34081c24b
Assuring that courses without updates cannot see the updates link from the home page and that the update message does not throw an error upon loading from a direct URL without any updates. Added test to assure this behavior and fixed up welcome message tests.
2017-06-26 14:47:27 -04:00
Diana Huang
3d09290c14
Add a dismiss button to welcome message.
...
Store user's preference indefinitely.
2017-06-22 18:26:50 -04:00
Harry Rein
6761a87bfb
Fix for LEARNER-859: Updating styling on the course updates page to more clearly differentiate between multiple updates. Specifically:
...
- Updated styling on date in the top left corner
- Added horizontal line between updates
- Removed ability to toggle updates on and off
- Cleaned up code to always show all updates:
2017-06-01 16:43:09 -04:00
Andy Armstrong
f81c21902e
Add isort to edx-platform
...
LEARNER-1168
2017-05-25 11:39:43 -04:00
Diana Huang
9ecbc9bf48
Replace urls in the welcome message.
2017-05-17 12:26:30 -04:00
Andy Armstrong
64de44321b
Show a welcome message on the course home page
...
LEARNER-879
2017-05-10 16:53:15 -04:00