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
d6bc426e
Commit
d6bc426e
authored
Apr 23, 2013
by
Kevin Chugh
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1731 from MITx/feature/kevin/pinning_inline
Feature/kevin/pinning inline
parents
d7f2d4b7
f59b74e2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
lms/static/sass/_discussion.scss
+15
-0
lms/templates/discussion/mustache/_inline_thread_cohorted.mustache
+1
-0
lms/templates/discussion/mustache/_inline_thread_show.mustache
+3
-0
No files found.
lms/static/sass/_discussion.scss
View file @
d6bc426e
...
...
@@ -2450,6 +2450,15 @@ body.discussion {
padding-right
:
5px
;
font-style
:
italic
;
}
.discussion-pin-inline
{
font-size
:
12px
;
float
:right
;
font-style
:
italic
;
position
:
relative
;
right
:
-20px
;
top
:
-13px
;
}
.notpinned
.icon
{
...
...
@@ -2477,4 +2486,9 @@ body.discussion {
.notpinned
span
{
color
:
#888
;
font-style
:
italic
;
}
.pinned-false
{
display
:none
;
}
\ No newline at end of file
lms/templates/discussion/mustache/_inline_thread_cohorted.mustache
View file @
d6bc426e
<article
class=
"discussion-article"
data-id=
"
{{
id
}}
"
>
<div
class=
"group-visibility-label"
>
{{
group_string
}}
</div>
<div
class=
"thread-content-wrapper"
></div>
<ol
class=
"responses post-extended-content"
>
...
...
lms/templates/discussion/mustache/_inline_thread_show.mustache
View file @
d6bc426e
...
...
@@ -3,6 +3,9 @@
<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>
<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"
>
{{#
user
}}
<a
href=
"
{{
user_url
}}
"
class=
"username"
>
{{
username
}}
</a>
...
...
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