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
0d557a56
Commit
0d557a56
authored
Feb 01, 2017
by
tasawernawaz
Committed by
Tasawer Nawaz
Feb 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Front-end disign of history page (no diff) ECOM-7010
parent
14c5ef93
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
174 additions
and
18 deletions
+174
-18
course_discovery/conf/locale/en/LC_MESSAGES/django.mo
+0
-0
course_discovery/conf/locale/en/LC_MESSAGES/django.po
+21
-2
course_discovery/conf/locale/en/LC_MESSAGES/djangojs.mo
+0
-0
course_discovery/conf/locale/en/LC_MESSAGES/djangojs.po
+1
-1
course_discovery/conf/locale/eo/LC_MESSAGES/django.mo
+0
-0
course_discovery/conf/locale/eo/LC_MESSAGES/django.po
+21
-2
course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.mo
+0
-0
course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.po
+1
-1
course_discovery/static/sass/publisher/publisher.scss
+51
-0
course_discovery/templates/publisher/course_revision_history.html
+79
-12
No files found.
course_discovery/conf/locale/en/LC_MESSAGES/django.mo
View file @
0d557a56
No preview for this file type
course_discovery/conf/locale/en/LC_MESSAGES/django.po
View file @
0d557a56
...
@@ -7,7 +7,7 @@ msgid ""
...
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-01 1
1:44
+0500\n"
"POT-Creation-Date: 2017-02-01 1
4:55
+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
@@ -485,25 +485,30 @@ msgstr ""
...
@@ -485,25 +485,30 @@ msgstr ""
#: apps/publisher/forms.py templates/publisher/add_courserun_form.html
#: apps/publisher/forms.py templates/publisher/add_courserun_form.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Course Title"
msgid "Course Title"
msgstr ""
msgstr ""
#: apps/publisher/forms.py templates/publisher/dashboard/_studio_requests.html
#: apps/publisher/forms.py templates/publisher/course_revision_history.html
#: templates/publisher/dashboard/_studio_requests.html
msgid "Course Number"
msgid "Course Number"
msgstr ""
msgstr ""
#: apps/publisher/forms.py apps/publisher/models.py
#: apps/publisher/forms.py apps/publisher/models.py
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Brief Description"
msgid "Brief Description"
msgstr ""
msgstr ""
#: apps/publisher/forms.py apps/publisher/models.py
#: apps/publisher/forms.py apps/publisher/models.py
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Full Description"
msgid "Full Description"
msgstr ""
msgstr ""
#: apps/publisher/forms.py apps/publisher/models.py
#: apps/publisher/forms.py apps/publisher/models.py
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
#: templates/publisher/course_run_detail/_all.html
#: templates/publisher/course_run_detail/_all.html
msgid "Prerequisites"
msgid "Prerequisites"
msgstr ""
msgstr ""
...
@@ -629,6 +634,7 @@ msgid "Level Type"
...
@@ -629,6 +634,7 @@ msgid "Level Type"
msgstr ""
msgstr ""
#: apps/publisher/models.py templates/publisher/course_detail.html
#: apps/publisher/models.py templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Expected Learnings"
msgid "Expected Learnings"
msgstr ""
msgstr ""
...
@@ -1603,14 +1609,17 @@ msgid "Course Team Admin"
...
@@ -1603,14 +1609,17 @@ msgid "Course Team Admin"
msgstr ""
msgstr ""
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Primary Subject"
msgid "Primary Subject"
msgstr ""
msgstr ""
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Secondary Subject"
msgid "Secondary Subject"
msgstr ""
msgstr ""
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Tertiary Subject"
msgid "Tertiary Subject"
msgstr ""
msgstr ""
...
@@ -1619,6 +1628,7 @@ msgid "Course Image"
...
@@ -1619,6 +1628,7 @@ msgid "Course Image"
msgstr ""
msgstr ""
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
#: templates/publisher/course_run_detail/_all.html
#: templates/publisher/course_run_detail/_all.html
#: templates/publisher/course_run_detail/_salesforce.html
#: templates/publisher/course_run_detail/_salesforce.html
msgid "Course Level"
msgid "Course Level"
...
@@ -1649,6 +1659,15 @@ msgstr ""
...
@@ -1649,6 +1659,15 @@ msgstr ""
msgid "UPDATE COURSE"
msgid "UPDATE COURSE"
msgstr ""
msgstr ""
#: templates/publisher/course_revision_history.html
msgid "Revision History"
msgstr ""
#: templates/publisher/course_revision_history.html
#, python-format
msgid "%(date)s by %(name)s"
msgstr ""
#: templates/publisher/course_run_detail.html
#: templates/publisher/course_run_detail.html
msgid "Course Run Detail"
msgid "Course Run Detail"
msgstr ""
msgstr ""
...
...
course_discovery/conf/locale/en/LC_MESSAGES/djangojs.mo
View file @
0d557a56
No preview for this file type
course_discovery/conf/locale/en/LC_MESSAGES/djangojs.po
View file @
0d557a56
...
@@ -7,7 +7,7 @@ msgid ""
...
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-01 1
1:44
+0500\n"
"POT-Creation-Date: 2017-02-01 1
4:55
+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
...
course_discovery/conf/locale/eo/LC_MESSAGES/django.mo
View file @
0d557a56
No preview for this file type
course_discovery/conf/locale/eo/LC_MESSAGES/django.po
View file @
0d557a56
...
@@ -7,7 +7,7 @@ msgid ""
...
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-01 1
1:44
+0500\n"
"POT-Creation-Date: 2017-02-01 1
4:55
+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
@@ -601,25 +601,30 @@ msgstr "Örgänïzätïön Nämé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α
...
@@ -601,25 +601,30 @@ msgstr "Örgänïzätïön Nämé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α
#: apps/publisher/forms.py templates/publisher/add_courserun_form.html
#: apps/publisher/forms.py templates/publisher/add_courserun_form.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Course Title"
msgid "Course Title"
msgstr "Çöürsé Tïtlé Ⱡ'σяєм ιρѕυм ∂σłσя ѕ#"
msgstr "Çöürsé Tïtlé Ⱡ'σяєм ιρѕυм ∂σłσя ѕ#"
#: apps/publisher/forms.py templates/publisher/dashboard/_studio_requests.html
#: apps/publisher/forms.py templates/publisher/course_revision_history.html
#: templates/publisher/dashboard/_studio_requests.html
msgid "Course Number"
msgid "Course Number"
msgstr "Çöürsé Nümßér Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#"
msgstr "Çöürsé Nümßér Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#"
#: apps/publisher/forms.py apps/publisher/models.py
#: apps/publisher/forms.py apps/publisher/models.py
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Brief Description"
msgid "Brief Description"
msgstr "Brïéf Désçrïptïön Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
msgstr "Brïéf Désçrïptïön Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
#: apps/publisher/forms.py apps/publisher/models.py
#: apps/publisher/forms.py apps/publisher/models.py
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Full Description"
msgid "Full Description"
msgstr "Füll Désçrïptïön Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αм#"
msgstr "Füll Désçrïptïön Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αм#"
#: apps/publisher/forms.py apps/publisher/models.py
#: apps/publisher/forms.py apps/publisher/models.py
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
#: templates/publisher/course_run_detail/_all.html
#: templates/publisher/course_run_detail/_all.html
msgid "Prerequisites"
msgid "Prerequisites"
msgstr "Préréqüïsïtés Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#"
msgstr "Préréqüïsïtés Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#"
...
@@ -747,6 +752,7 @@ msgid "Level Type"
...
@@ -747,6 +752,7 @@ msgid "Level Type"
msgstr "Lévél Týpé Ⱡ'σяєм ιρѕυм ∂σłσ#"
msgstr "Lévél Týpé Ⱡ'σяєм ιρѕυм ∂σłσ#"
#: apps/publisher/models.py templates/publisher/course_detail.html
#: apps/publisher/models.py templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Expected Learnings"
msgid "Expected Learnings"
msgstr "Éxpéçtéd Léärnïngs Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт#"
msgstr "Éxpéçtéd Léärnïngs Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт#"
...
@@ -1936,14 +1942,17 @@ msgid "Course Team Admin"
...
@@ -1936,14 +1942,17 @@ msgid "Course Team Admin"
msgstr "Çöürsé Téäm Àdmïn Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
msgstr "Çöürsé Téäm Àdmïn Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Primary Subject"
msgid "Primary Subject"
msgstr "Prïmärý Süßjéçt Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"
msgstr "Prïmärý Süßjéçt Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Secondary Subject"
msgid "Secondary Subject"
msgstr "Séçöndärý Süßjéçt Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
msgstr "Séçöndärý Süßjéçt Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
msgid "Tertiary Subject"
msgid "Tertiary Subject"
msgstr "Tértïärý Süßjéçt Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αм#"
msgstr "Tértïärý Süßjéçt Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αм#"
...
@@ -1952,6 +1961,7 @@ msgid "Course Image"
...
@@ -1952,6 +1961,7 @@ msgid "Course Image"
msgstr "Çöürsé Ìmägé Ⱡ'σяєм ιρѕυм ∂σłσя ѕ#"
msgstr "Çöürsé Ìmägé Ⱡ'σяєм ιρѕυм ∂σłσя ѕ#"
#: templates/publisher/course_detail.html
#: templates/publisher/course_detail.html
#: templates/publisher/course_revision_history.html
#: templates/publisher/course_run_detail/_all.html
#: templates/publisher/course_run_detail/_all.html
#: templates/publisher/course_run_detail/_salesforce.html
#: templates/publisher/course_run_detail/_salesforce.html
msgid "Course Level"
msgid "Course Level"
...
@@ -1985,6 +1995,15 @@ msgstr ""
...
@@ -1985,6 +1995,15 @@ msgstr ""
msgid "UPDATE COURSE"
msgid "UPDATE COURSE"
msgstr "ÛPDÀTÉ ÇÖÛRSÉ Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#"
msgstr "ÛPDÀTÉ ÇÖÛRSÉ Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#"
#: templates/publisher/course_revision_history.html
msgid "Revision History"
msgstr "Révïsïön Hïstörý Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αм#"
#: templates/publisher/course_revision_history.html
#, python-format
msgid "%(date)s by %(name)s"
msgstr "%(date)s ßý %(name)s Ⱡ'σяєм ιρѕυм ∂σłσ#"
#: templates/publisher/course_run_detail.html
#: templates/publisher/course_run_detail.html
msgid "Course Run Detail"
msgid "Course Run Detail"
msgstr "Çöürsé Rün Détäïl Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
msgstr "Çöürsé Rün Détäïl Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
...
...
course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.mo
View file @
0d557a56
No preview for this file type
course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.po
View file @
0d557a56
...
@@ -7,7 +7,7 @@ msgid ""
...
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-01 1
1:44
+0500\n"
"POT-Creation-Date: 2017-02-01 1
4:55
+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
...
...
course_discovery/static/sass/publisher/publisher.scss
View file @
0d557a56
...
@@ -885,3 +885,54 @@ select {
...
@@ -885,3 +885,54 @@ select {
display
:
none
;
display
:
none
;
}
}
}
}
.parent-course-history
{
@include
margin-left
(
15px
);
margin-top
:
10px
;
font-family
:
'Open Sans'
,
sans-serif
;
display
:
inline-block
;
.title
{
font-weight
:
700
;
font-size
:
32px
;
margin-bottom
:
10px
;
}
.btn-show-changes
{
@include
margin-left
(
60px
);
cursor
:
pointer
;
color
:
#ffffff
;
background-color
:
#169BD5
;
border-color
:
#169BD5
;
width
:
120px
;
text-align
:
center
;
font-size
:
13px
;
font-weight
:
600
;
border-radius
:
5px
;
}
.hr-line
{
float
:
left
;
width
:
882px
;
}
.changed-by
{
font-weight
:
400
;
font-size
:
20px
;
}
.field-container
{
margin-bottom
:
20px
;
.field-title
{
margin-bottom
:
10px
;
font-size
:
18px
;
font-weight
:
600
;
}
span
{
font-size
:
14px
;
font-weight
:
400
;
}
}
}
course_discovery/templates/publisher/course_revision_history.html
View file @
0d557a56
<!DOCTYPE html>
{% extends 'base.html' %}
<html>
{% load i18n %}
<head
lang=
"en"
>
{% block title %}
<meta
charset=
"UTF-8"
>
{% trans "Revision History" %}
<title></title>
{% endblock title %}
</head>
<body>
{% block content %}
<div
class=
"parent-course-history"
>
{#TODO revision template will be added in other subtask#}
<div
class=
"title"
>
{% trans "Revision History" %}
</div>
</body>
<div>
</html>
<p
class=
"changed-by"
>
{% with date=history_object.history_date|date:"d-m-Y" name=history_object.history_user.full_name %}
{% blocktrans trimmed %}
{{ date }} by {{ name }}
{% endblocktrans %}
{% endwith %}
<button
class=
"btn-show-changes"
>
Show changes
</button>
</p>
</div>
<div>
<hr
class=
"hr-line"
/>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Course Title" %}
</div>
<span>
{{ history_object.title }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Course Number" %}
</div>
<span>
{{ history_object.number }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Brief Description" %}
</div>
<span>
{{ history_object.short_description }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Full Description" %}
</div>
<span>
{{ history_object.full_description }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Expected Learnings" %}
</div>
<span>
{{ history_object.expected_learnings }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Primary Subject" %}
</div>
<span>
{{ history_object.primary_subject }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Secondary Subject" %}
</div>
<span>
{{ history_object.secondary_subject }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Tertiary Subject" %}
</div>
<span>
{{ history_object.tertiary_subject }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Prerequisites" %}
</div>
<span>
{{ history_object.prerequisites }}
</span>
</div>
<div
class=
"field-container"
>
<div
class=
"field-title"
>
{% trans "Course Level" %}
</div>
<span>
{{ history_object.level_type }}
</span>
</div>
</div>
{% endblock %}
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