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
2238137d
Commit
2238137d
authored
Aug 02, 2012
by
Brittany Cheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sort styles
parent
3b312a2c
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 @
2238137d
...
...
@@ -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
{
...
...
lms/templates/discussion/_forum.html
View file @
2238137d
...
...
@@ -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
...
...
lms/templates/discussion/_sort.html
View file @
2238137d
...
...
@@ -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>
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