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
f7e9746e
Commit
f7e9746e
authored
12 years ago
by
Rocky Duan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'discussion2' of github.com:dementrock/mitx into discussion2
parents
7ab13732
839463e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
lms/static/sass/_discussion.scss
+3
-0
lms/templates/discussion/_forum.html
+1
-1
lms/templates/discussion/_sort.html
+4
-4
No files found.
lms/static/sass/_discussion.scss
View file @
f7e9746e
...
...
@@ -188,6 +188,9 @@ $discussion_input_width: 100%;
font-size
:
$comment_body_size
;
float
:
right
;
margin-top
:
-2
.5%
;
.discussion-sort-link.sorted
{
font-weight
:
bold
;
}
}
.discussion-content-edit
,
.discussion-reply-new
,
.new-post-form
{
.new-post-control
,
.edit-post-control
{
...
...
This diff is collapsed.
Click to expand it.
lms/templates/discussion/_forum.html
View file @
f7e9746e
...
...
@@ -13,8 +13,8 @@
<label
for=
"discussion-search-within-board-${discussion_id}"
class=
"discussion-search-within-board"
>
Search within board
</label>
</div>
<div
class=
"discussion-new-post control-button"
href=
"javascript:void(0)"
>
New Post
</div>
<
%
include
file=
"_sort.html"
/>
</div>
<
%
include
file=
"_sort.html"
/>
% for thread in threads:
${renderer.render_thread(course_id, thread, edit_thread=False, show_comments=False)}
% endfor
...
...
This diff is collapsed.
Click to expand it.
lms/templates/discussion/_sort.html
View file @
f7e9746e
...
...
@@ -28,10 +28,10 @@
</
%
def>
<div
class=
"discussion-sort"
>
Sort by:
${link_to_sort('date', '
D
ate')}
Sort by:
${link_to_sort('date', '
d
ate')}
|
${link_to_sort('votes', '
V
otes')}
${link_to_sort('votes', '
v
otes')}
|
${link_to_sort('comments', '
C
omments')}
${link_to_sort('comments', '
c
omments')}
</div>
This diff is collapsed.
Click to expand it.
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