Commit 7b12dac0 by marco

added make visible to menu, and visibility description to threads

parent 2b23c403
...@@ -169,6 +169,12 @@ body.discussion { ...@@ -169,6 +169,12 @@ body.discussion {
} }
} }
.form-group-label {
display: block;
padding-top: 5px;
color:#fff;
}
.topic_dropdown_button { .topic_dropdown_button {
position: relative; position: relative;
z-index: 1000; z-index: 1000;
...@@ -1373,7 +1379,7 @@ body.discussion { ...@@ -1373,7 +1379,7 @@ body.discussion {
.group-visibility-label { .group-visibility-label {
font-size: 12px; font-size: 12px;
color:#ddd; color:#fff;
font-style: italic; font-style: italic;
} }
......
...@@ -45,6 +45,14 @@ ...@@ -45,6 +45,14 @@
%elif course.metadata.get("allow_anonymous_to_peers", False): %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> <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 %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> </div>
<div class="right-column"> <div class="right-column">
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
<option value="g1">Group 1</option> <option value="g1">Group 1</option>
<option value="g2">Group 2</option> <option value="g2">Group 2</option>
</select> </select>
</div> </div>
<div class="post-list-wrapper"> <div class="post-list-wrapper">
<ul class="post-list"> <ul class="post-list">
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
<div class="discussion-post"> <div class="discussion-post">
<div><a href="javascript:void(0)" class="dogear action-follow" data-tooltip="follow"></a></div> <div><a href="javascript:void(0)" class="dogear action-follow" data-tooltip="follow"></a></div>
<header> <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> <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> <h1>${'<%- title %>'}</h1>
<p class="posted-details"> <p class="posted-details">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment