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
7b12dac0
Commit
7b12dac0
authored
Jan 22, 2013
by
marco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added make visible to menu, and visibility description to threads
parent
2b23c403
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
lms/static/sass/_discussion.scss
+7
-1
lms/templates/discussion/_new_post.html
+8
-0
lms/templates/discussion/_thread_list_template.html
+0
-1
lms/templates/discussion/_underscore_templates.html
+1
-0
No files found.
lms/static/sass/_discussion.scss
View file @
7b12dac0
...
...
@@ -169,6 +169,12 @@ body.discussion {
}
}
.form-group-label
{
display
:
block
;
padding-top
:
5px
;
color
:
#fff
;
}
.topic_dropdown_button
{
position
:
relative
;
z-index
:
1000
;
...
...
@@ -1373,7 +1379,7 @@ body.discussion {
.group-visibility-label
{
font-size
:
12px
;
color
:
#
ddd
;
color
:
#
fff
;
font-style
:
italic
;
}
...
...
lms/templates/discussion/_new_post.html
View file @
7b12dac0
...
...
@@ -45,6 +45,14 @@
%elif course.metadata.get("allow_anonymous_to_peers", False):
<input
type=
"checkbox"
name=
"anonymous_to_peers"
class=
"discussion-anonymous-to-peers"
id=
"new-post-anonymous-to-peers"
><label
for=
"new-post-anonymous-to-peers"
>
post anonymously to classmates
</label>
%endif
<div
class=
"form-group-label"
>
Make visible to:
<select
class=
"group-filter-select"
>
<option
value=
"all"
>
All Groups
</option>
<option
value=
"g1"
>
Group 1
</option>
<option
value=
"g2"
>
Group 2
</option>
</select>
</div>
</div>
</div>
<div
class=
"right-column"
>
...
...
lms/templates/discussion/_thread_list_template.html
View file @
7b12dac0
...
...
@@ -24,7 +24,6 @@
<
option
value
=
"g1"
>
Group
1
<
/option
>
<
option
value
=
"g2"
>
Group
2
<
/option
>
<
/select
>
<
/div
>
<
div
class
=
"post-list-wrapper"
>
<
ul
class
=
"post-list"
>
...
...
lms/templates/discussion/_underscore_templates.html
View file @
7b12dac0
...
...
@@ -26,6 +26,7 @@
<
div
class
=
"discussion-post"
>
<
div
><
a
href
=
"javascript:void(0)"
class
=
"dogear action-follow"
data
-
tooltip
=
"follow"
><
/a></
div
>
<
header
>
<
div
class
=
"group-visibility-label"
>
This
post
visible
only
to
Group
1
.
<
/div
>
<
a
href
=
"#"
class
=
"vote-btn discussion-vote discussion-vote-up"
data
-
role
=
"discussion-vote"
data
-
tooltip
=
"vote"
><
span
class
=
"plus-icon"
>+<
/span> <span class='votes-count-number'>${'<%- votes
[
"up_count"
]
%>'}</
span
><
/a
>
<
h1
>
$
{
'<%- title %>'
}
<
/h1
>
<
p
class
=
"posted-details"
>
...
...
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