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
2a6a894c
Commit
2a6a894c
authored
Jul 06, 2012
by
Matthew Mongeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Courses on homepage and courses page should iterate over the context courses.
parent
1c3e43de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lms/templates/courses.html
+3
-1
lms/templates/index.html
+3
-1
No files found.
lms/templates/courses.html
View file @
2a6a894c
...
...
@@ -14,7 +14,9 @@
## I'm removing this for now since we aren't using it for the fall.
##
<
%
include
file=
"course_filter.html"
/>
<section
class=
"courses"
>
<
%
include
file=
"course.html"
/>
%for course in courses:
<
%
include
file=
"course.html"
args=
"course=course"
/>
%endfor
</section>
</section>
</section>
lms/templates/index.html
View file @
2a6a894c
...
...
@@ -59,7 +59,9 @@
<section
class=
"highlighted-courses"
>
<h2>
Explore courses from edX universities
</h2>
<section
class=
"courses"
>
<
%
include
file=
"course.html"
/>
%for course in courses:
<
%
include
file=
"course.html"
args=
"course=course"
/>
%endfor
</section>
</section>
...
...
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