Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
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
course-discovery
Commits
02752397
Commit
02752397
authored
Aug 22, 2016
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated search template for programs
ECOM-5316
parent
501dbeac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
5 deletions
+59
-5
course_discovery/apps/course_metadata/templates/search/indexes/course_metadata/basecourse_text.txt
+1
-1
course_discovery/apps/course_metadata/templates/search/indexes/course_metadata/partials/endorsement.txt
+2
-0
course_discovery/apps/course_metadata/templates/search/indexes/course_metadata/partials/organization.txt
+1
-0
course_discovery/apps/course_metadata/templates/search/indexes/course_metadata/program_text.txt
+55
-4
No files found.
course_discovery/apps/course_metadata/templates/search/indexes/course_metadata/basecourse_text.txt
View file @
02752397
...
...
@@ -12,7 +12,7 @@
{% endfor %}
{% for organization in object.organizations.all %}
{
{ organization.key }}: {{ organization.name }
}
{
% include 'search/indexes/course_metadata/partials/organization.txt' %
}
{% endfor %}
{% for prerequisite in object.prerequisites.all %}
...
...
course_discovery/apps/course_metadata/templates/search/indexes/course_metadata/partials/endorsement.txt
0 → 100644
View file @
02752397
{{ endorsement.endorser.full_name }}
{{ endorsement.quote }}
course_discovery/apps/course_metadata/templates/search/indexes/course_metadata/partials/organization.txt
0 → 100644
View file @
02752397
{{ organization.key }}: {{ organization.name }}
course_discovery/apps/course_metadata/templates/search/indexes/course_metadata/program_text.txt
View file @
02752397
{{ object.uuid }}
{{ object.name }}
{{ object.type.name }}
{{ object.title }}
{{ object.status }}
{{ object.type.name }}
{{ object.marketing_slug|default:'' }}
{{ object.subtitle|default:'' }}
{{ object.overview|default:'' }}
{% for language in object.languages %}
{{ language }}
{% endfor %}
{% for language in object.transcript_languages %}
{{ language }}
{% endfor %}
{% for organization in object.authoring_organizations.all %}
{% include 'search/indexes/course_metadata/partials/organization.txt' %}
{% endfor %}
{% for organization in object.credit_backing_organizations.all %}
{% include 'search/indexes/course_metadata/partials/organization.txt' %}
{% endfor %}
{% for faq in object.faq.all %}
{{ faq.question }}
{{ faq.answer }}
{% endfor %}
{% for item in object.expected_learning_items.all %}
{{ item }}
{% endfor %}
{% for course_run in object.course_runs.all %}
{{ course_run.key }}: {{ course_run.title }}
{% endfor %}
{% for subject in object.subjects %}
{{ subject.name }}
{% endfor %}
{% for instructor in object.instructors %}
{{ instructor.full_name }}
{% endfor %}
{% for item in object.job_outlook_items.all %}
{{ item }}
{% endfor %}
{% for endorsement in object.individual_endorsements.all %}
{% include 'search/indexes/course_metadata/partials/endorsement.txt' %}
{% endfor %}
{% for organization in object.organizations.all %}
{{ organization.key }}: {{ organization.name }}
{% for corporate_endorsement in object.corporate_endorsements.all %}
{{ corporate_endorsement.corporation_name }}
{{ corporate_endorsement.statement }}
{% for endorsement in corporate_endorsement.individual_endorsements.all %}
{% include 'search/indexes/course_metadata/partials/endorsement.txt' %}
{% endfor %}
{% endfor %}
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