Commit e4194c99 by Your Name

Merge branch 'master' of github.com:MITx/mitx

parents 5e73e8f2 d6bc426e
...@@ -2450,6 +2450,15 @@ body.discussion { ...@@ -2450,6 +2450,15 @@ body.discussion {
padding-right: 5px; padding-right: 5px;
font-style: italic; font-style: italic;
} }
.discussion-pin-inline {
font-size: 12px;
float:right;
font-style: italic;
position: relative;
right:-20px;
top:-13px;
}
.notpinned .icon .notpinned .icon
{ {
...@@ -2477,4 +2486,9 @@ body.discussion { ...@@ -2477,4 +2486,9 @@ body.discussion {
.notpinned span { .notpinned span {
color: #888; color: #888;
font-style: italic; font-style: italic;
}
.pinned-false
{
display:none;
} }
\ No newline at end of file
<article class="discussion-article" data-id="{{id}}"> <article class="discussion-article" data-id="{{id}}">
<div class="group-visibility-label">{{group_string}}</div> <div class="group-visibility-label">{{group_string}}</div>
<div class="thread-content-wrapper"></div> <div class="thread-content-wrapper"></div>
<ol class="responses post-extended-content"> <ol class="responses post-extended-content">
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
<header> <header>
<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>
<h3>{{title}}</h3> <h3>{{title}}</h3>
<div class="discussion-pin-inline pinned pinned-{{pinned}}" data-tooltip="This thread has been pinned by course staff.">
<i class="icon"></i><span class="pin-label">Pinned</span></div>
<p class="posted-details"> <p class="posted-details">
{{#user}} {{#user}}
<a href="{{user_url}}" class="username">{{username}}</a> <a href="{{user_url}}" class="username">{{username}}</a>
......
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