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
fb4edab9
Commit
fb4edab9
authored
Sep 24, 2013
by
Greg Price
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1110 from edx/feature/kevin/forum_activity_accessibility
parents
d0e0ae93
4d78374b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
lms/templates/discussion/_single_thread.html
+1
-1
lms/templates/discussion/_underscore_templates.html
+5
-5
lms/templates/discussion/mustache/_content.mustache
+1
-1
lms/templates/discussion/mustache/_inline_thread_show.mustache
+1
-1
lms/templates/discussion/mustache/_profile_thread.mustache
+1
-1
No files found.
lms/templates/discussion/_single_thread.html
View file @
fb4edab9
...
...
@@ -11,7 +11,7 @@
<div
class=
"group-visibility-label"
>
${_("This post visible only to group {group}.").format(group=cohort_dictionary[thread['group_id']])}
</div>
%endif
<a
href=
"#"
class=
"vote-btn discussion-vote discussion-vote-up"
><span
class=
"plus-icon"
>
+
</span>
<span
class=
'votes-count-number'
>
${thread['votes']['up_count']}
</span></a>
<a
href=
"#"
class=
"vote-btn discussion-vote discussion-vote-up"
><span
class=
"plus-icon"
>
+
</span>
<span
class=
'votes-count-number'
>
${thread['votes']['up_count']}
<span
class=
"sr"
>
votes (click to vote)
</span>
</span></a>
<h1>
${thread['title']}
</h1>
<p
class=
"posted-details"
>
<span
class=
"timeago"
title=
"${thread['created_at'] | h}"
>
sometime
</span>
by
...
...
lms/templates/discussion/_underscore_templates.html
View file @
fb4edab9
...
...
@@ -33,7 +33,7 @@
$
{
"<% } %>"
}
<
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
>
<
span
class
=
"plus-icon"
>+<
/span> <span class='votes-count-number'>${'<%- votes
[
"up_count"
]
%>'}<
span class="sr">votes
(
click to vote
)
</
span
><
/span></
a
>
<
h1
>
$
{
'<%- title %>'
}
<
/h1
>
<
p
class
=
"posted-details"
>
$
{
"<% if (obj.username) { %>"
}
...
...
@@ -121,7 +121,7 @@
<script
type=
"text/template"
id=
"thread-response-show-template"
>
<
header
class
=
"response-local"
>
<
a
href
=
"javascript:void(0)"
class
=
"vote-btn"
data
-
tooltip
=
"vote"
><
span
class
=
"plus-icon"
><
/span><span class="votes-count-number">${"<%- votes
[
'up_count'
]
%>"}</
span
><
/a
>
<
a
href
=
"javascript:void(0)"
class
=
"vote-btn"
data
-
tooltip
=
"vote"
><
span
class
=
"plus-icon"
><
/span><span class="votes-count-number">${"<%- votes
[
'up_count'
]
%>"}<
span class="sr">votes
(
click to vote
)
</
span
><
/span></
a
>
<
a
href
=
"javascript:void(0)"
class
=
"endorse-btn${'<% if (endorsed) { %> is-endorsed<% } %>'} action-endorse"
style
=
"cursor: default; display: none;"
data
-
tooltip
=
"endorse"
><
span
class
=
"check-icon"
style
=
"pointer-events: none; "
><
/span></
a
>
$
{
"<% if (obj.username) { %>"
}
<
a
href
=
"${'<%- user_url %>'}"
class
=
"posted-by"
>
$
{
'<%- username %>'
}
<
/a
>
...
...
@@ -168,11 +168,11 @@
<
a
href
=
"${'<%- id %>'}"
data
-
id
=
"${'<%- id %>'}"
>
<
span
class
=
"title"
>
$
{
"<%- title %>"
}
<
/span
>
$
{
"<% if (unread_comments_count > 0) { %>"
}
<
span
class
=
"comments-count unread"
data
-
tooltip
=
"${"
<%-
unread_comments_count
%>
"} new comment${"
<%-
unread_comments_count
>
1
?
's'
:
''
%>
"}"
>
$
{
"<%- comments_count %>"
}
<
/span
>
<
span
class
=
"comments-count unread"
data
-
tooltip
=
"${"
<%-
unread_comments_count
%>
"} new comment${"
<%-
unread_comments_count
>
1
?
's'
:
''
%>
"}"
>
$
{
"<%- comments_count %>"
}
<
span
class
=
"sr"
>
comments
(
$
{
"<%- unread_comments_count %>"
}
unread
comments
)
<
/span>
</
span
>
$
{
"<% } else { %>"
}
<
span
class
=
"comments-count"
>
$
{
"<%- comments_count %>"
}
<
/span
>
<
span
class
=
"comments-count"
>
$
{
"<%- comments_count %>"
}
<
span
class
=
"sr"
>
comments
<
/span><
/
span
>
$
{
"<% } %>"
}
<
span
class
=
"votes-count"
>+
$
{
"<%- votes['up_count'] %>"
}
<
/span
>
<
span
class
=
"votes-count"
>+
$
{
"<%- votes['up_count'] %>"
}
<
span
class
=
"sr"
>
votes
<
/span><
/
span
>
<
/a
>
</script>
<script
type=
"text/template"
id=
"discussion-home"
>
...
...
lms/templates/discussion/mustache/_content.mustache
View file @
fb4edab9
...
...
@@ -3,7 +3,7 @@ CONTENT MUSTACHE
<div
class=
"discussion-content-wrapper"
>
<div
class=
"discussion-votes"
>
<a
class=
"discussion-vote discussion-vote-up"
href=
"javascript:void(0)"
value=
"up"
>
▲
</a>
<div
class=
"discussion-votes-point"
>
{{
content
.
votes
.
point
}}
</div>
<div
class=
"discussion-votes-point"
>
{{
content
.
votes
.
point
}}
<
span
class=
"sr"
>
votes (click to vote)
</span><
/div>
<a
class=
"discussion-vote discussion-vote-down"
href=
"javascript:void(0)"
value=
"down"
>
▼
</a>
</div>
<div
class=
"discussion-right-wrapper"
>
...
...
lms/templates/discussion/mustache/_inline_thread_show.mustache
View file @
fb4edab9
<div
class=
"discussion-post local"
>
<div><a
href=
"javascript:void(0)"
class=
"dogear action-follow"
data-tooltip=
"follow"
></a></div>
<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><
span
class=
"sr"
>
votes (click to vote)
</span><
/a>
<h3>
{{
title
}}
</h3>
<div
class=
"discussion-flag-abuse notflagged"
data-role=
"thread-flag"
data-tooltip=
"Report Misuse"
>
<i
class=
"icon icon-flag"
></i><span
class=
"flag-label"
>
Flagged
</span></div>
...
...
lms/templates/discussion/mustache/_profile_thread.mustache
View file @
fb4edab9
...
...
@@ -2,7 +2,7 @@
<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>
<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><
span
class=
"sr"
>
votes (click to vote)
</span><
/a>
<h3>
{{
title
}}
</h3>
<p
class=
"posted-details"
>
{{#
user
}}
...
...
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