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
9ce10493
Commit
9ce10493
authored
Jan 13, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove references to old university images
parent
7b6cf0dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
135 deletions
+2
-135
lms/djangoapps/courseware/features/homepage.feature
+0
-16
lms/djangoapps/courseware/features/homepage.py
+0
-8
lms/templates/index.html
+2
-111
No files found.
lms/djangoapps/courseware/features/homepage.feature
View file @
9ce10493
...
...
@@ -21,19 +21,3 @@ Feature: LMS.Homepage for web users
|
faq
|
FAQ
|
|
contact
|
Contact
|
|
press
|
Press
|
# TODO: test according to domain or policy
Scenario
:
User can see the partner institutions
Given
I visit the homepage
Then
I should see the following Partners in the Partners section
|
Partner
|
|
MITx
|
|
HarvardX
|
|
BerkeleyX
|
|
UTx
|
|
WellesleyX
|
|
GeorgetownX
|
# # TODO: Add scenario that tests the courses available
# # using a policy or a configuration file
lms/djangoapps/courseware/features/homepage.py
View file @
9ce10493
...
...
@@ -5,14 +5,6 @@ from lettuce import world, step
from
nose.tools
import
assert_in
,
assert_equals
# pylint: disable=E0611
@step
(
u'I should see the following Partners in the Partners section'
)
def
i_should_see_partner
(
step
):
partners
=
world
.
browser
.
find_by_css
(
".partner .name span"
)
names
=
set
(
span
.
html
for
span
in
partners
)
for
partner
in
step
.
hashes
:
assert_in
(
partner
[
'Partner'
],
names
)
@step
(
u'I should see the following links and ids'
)
def
should_see_a_link_called
(
step
):
for
link_id_pair
in
step
.
hashes
:
...
...
lms/templates/index.html
View file @
9ce10493
...
...
@@ -52,118 +52,9 @@
</div>
</header>
<section
class=
"container"
>
<section
class=
"container"
>
<section
class=
"highlighted-courses"
>
## Disable university partner logos and sites for non-edX sites
% if not self.theme_enabled():
<h2>
${_('Explore free courses from {span_start}{platform_name}{span_end} universities').format(platform_name="edX", span_start='
<span
class=
"edx"
>
', span_end='
</span>
')}
</h2>
<section
class=
"university-partners university-partners2x6"
>
<ol
class=
"partners"
>
<li
class=
"partner mit"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/mit/mit.png')}"
/>
<div
class=
"name"
>
<span>
MITx
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/harvard/harvard.png')}"
/>
<div
class=
"name"
>
<span>
HarvardX
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/berkeley/berkeley.png')}"
/>
<div
class=
"name"
>
<span>
BerkeleyX
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/ut/ut-rollover_350x150.png')}"
/>
<div
class=
"name"
>
<span>
UTx
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/mcgill/mcgill.png')}"
/>
<div
class=
"name"
>
<span>
McGillX
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/anu/anu.png')}"
/>
<div
class=
"name"
>
<span>
ANUx
</span>
</div>
</a>
</li>
</ol>
<hr
/>
<ol
class=
"partners"
>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/wellesley/wellesley-rollover_350x150.png')}"
/>
<div
class=
"name"
>
<span>
WellesleyX
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/georgetown/georgetown-rollover_350x150.png')}"
/>
<div
class=
"name"
>
<span>
GeorgetownX
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/toronto/toronto.png')}"
/>
<div
class=
"name"
>
<span>
University of TorontoX
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/epfl/epfl.png')}"
/>
<div
class=
"name"
>
<span>
EPFLx
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/delft/delft.png')}"
/>
<div
class=
"name"
>
<span>
DelftX
</span>
</div>
</a>
</li>
<li
class=
"partner"
>
<a
href=
"#"
>
<img
src=
"${static.url('images/university/rice/rice.png')}"
/>
<div
class=
"name"
>
<span>
RiceX
</span>
</div>
</a>
</li>
</ol>
</section>
% endif
## NOTE: To put a title here surround in
<h2>
tags
% if settings.FEATURES.get('COURSES_ARE_BROWSABLE'):
<section
class=
"courses"
>
...
...
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