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
db4530ce
Commit
db4530ce
authored
Sep 13, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
styles for inline comment count
parent
37610d3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
1 deletions
+43
-1
lms/static/sass/_discussion.scss
+17
-0
lms/templates/discussion/mustache/_inline_thread.mustache
+26
-1
No files found.
lms/static/sass/_discussion.scss
View file @
db4530ce
...
...
@@ -1745,6 +1745,22 @@ body.discussion {
padding
:
12px
20px
0
20px
;
@include
clearfix
;
.inline-comment-count
{
position
:
relative
;
z-index
:
100
;
float
:
right
;
display
:
block
;
height
:
27px
;
margin-top
:
6px
;
margin-right
:
8px
;
padding
:
0
8px
;
border-radius
:
5px
;
font-size
:
12px
;
font-weight
:
400
;
line-height
:
25px
;
color
:
#888
;
}
header
{
padding-bottom
:
0
;
margin-bottom
:
15px
;
...
...
@@ -1778,6 +1794,7 @@ body.discussion {
.post-tools
{
margin-left
:
20px
;
margin-top
:
5px
;
a
{
display
:
block
;
...
...
lms/templates/discussion/mustache/_inline_thread.mustache
View file @
db4530ce
<article
class=
"discussion-article"
data-id=
"
{{
id
}}
"
>
<div
class=
"local"
><a
href=
"javascript:void(0)"
class=
"dogear action-follow"
></a></div>
<div
class=
"discussion-post local"
>
<header>
<a
href=
"#"
class=
"vote-btn discussion-vote discussion-vote-up"
data-role=
"discussion-vote"
><span
class=
"plus-icon"
>
+
</span>
<span
class=
'votes-count-number'
>
{{
votes
.
up_count
}}
</span></a>
<h3>
{{
title
}}
</h3>
<p
class=
"posted-details"
>
{{#
user
}}
<a
href=
"
{{
user_url
}}
"
class=
"username"
>
{{
username
}}
</a>
{{/
user
}}
{{^
user
}}
anonymous
{{/
user
}}
<div
class=
"thread-content-wrapper"
></div>
<span
class=
"timeago"
title=
"
{{
created_at
}}
"
>
{{
created_at
}}
</span>
<span
class=
"post-status-closed top-post-status"
style=
"display: none"
>
•
This thread is closed.
</span>
</p>
</header>
<div
class=
"post-body"
>
{{
abbreviatedBody
}}
</div>
<ul
class=
"moderator-actions post-extended-content"
>
<li
style=
"display: none"
><a
class=
"action-edit"
href=
"javascript:void(0)"
><span
class=
"edit-icon"
></span>
Edit
</a></li>
<li
style=
"display: none"
><a
class=
"action-delete"
href=
"javascript:void(0)"
><span
class=
"delete-icon"
></span>
Delete
</a></li>
<li
style=
"display: none"
><a
class=
"action-openclose"
href=
"javascript:void(0)"
><span
class=
"edit-icon"
></span>
Close
</a></li>
</ul>
</div>
<ol
class=
"responses post-extended-content"
>
<li
class=
"loading"
><div
class=
"loading-animation"
></div></li>
</ol>
...
...
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