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
75079219
Commit
75079219
authored
Jul 29, 2013
by
Your Name
Browse files
Options
Browse Files
Download
Plain Diff
merge with Marcos new design
parents
13ca61ba
77a23a37
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
11 deletions
+13
-11
lms/static/sass/_discussion.scss
+0
-0
lms/templates/discussion/_filter_dropdown.html
+1
-1
lms/templates/discussion/_thread_list_template.html
+4
-2
lms/templates/discussion/_underscore_templates.html
+6
-6
lms/templates/discussion/mustache/_inline_thread_show.mustache
+2
-2
No files found.
lms/static/sass/_discussion.scss
View file @
75079219
This diff is collapsed.
Click to expand it.
lms/templates/discussion/_filter_dropdown.html
View file @
75079219
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
%endif
%endif
<li>
<li>
<a
href=
"#"
class=
"drop-menu-meta-category"
>
<a
href=
"#"
class=
"drop-menu-meta-category"
>
<span
class=
"board-name"
data-discussion_id=
'#following'
><i
class=
"icon-star"
style=
"padding-right:5px;"
></i>
Posts I
'
m Following
</span>
<span
class=
"board-name"
data-discussion_id=
'#following'
><i
class=
"icon-star"
style=
"padding-right:5px;"
></i>
Posts I
'
m Following
</span>
</a>
</a>
</li>
</li>
${render_dropdown(category_map)}
${render_dropdown(category_map)}
...
...
lms/templates/discussion/_thread_list_template.html
View file @
75079219
...
@@ -2,11 +2,13 @@
...
@@ -2,11 +2,13 @@
<
div
class
=
"browse-search"
>
<
div
class
=
"browse-search"
>
<
div
class
=
"home"
>
<
div
class
=
"home"
>
<
a
href
=
"#"
class
=
"home-icon"
>
<
a
href
=
"#"
class
=
"home-icon"
>
<
i
class
=
"icon-home"
><
/i
>
<
i
class
=
"icon
icon
-home"
><
/i
>
<
/a
>
<
/a
>
<
/div
>
<
/div
>
<
div
class
=
"browse is-open"
>
<
div
class
=
"browse is-open"
>
<
a
href
=
"#"
class
=
"browse-topic-drop-icon"
><
/a
>
<
a
href
=
"#"
class
=
"browse-topic-drop-icon"
>
<
i
class
=
"icon icon-reorder"
><
/i
>
<
/a
>
<
a
href
=
"#"
class
=
"browse-topic-drop-btn"
><
span
class
=
"current-board"
>
Show
All
Discussions
<
/span> <span class="drop-arrow">▾</
span
><
/a
>
<
a
href
=
"#"
class
=
"browse-topic-drop-btn"
><
span
class
=
"current-board"
>
Show
All
Discussions
<
/span> <span class="drop-arrow">▾</
span
><
/a
>
<
/div
>
<
/div
>
<%
include
file
=
"_filter_dropdown.html"
/>
<%
include
file
=
"_filter_dropdown.html"
/>
...
...
lms/templates/discussion/_underscore_templates.html
View file @
75079219
...
@@ -47,18 +47,18 @@
...
@@ -47,18 +47,18 @@
<
/header
>
<
/header
>
<
div
class
=
"post-body"
>
$
{
'<%- body %>'
}
<
/div
>
<
div
class
=
"post-body"
>
$
{
'<%- body %>'
}
<
/div
>
<
div
class
=
"discussion-flag-abuse notflagged"
data
-
role
=
"thread-flag"
data
-
tooltip
=
"Report Misuse"
>
<
div
class
=
"discussion-flag-abuse notflagged"
data
-
role
=
"thread-flag"
data
-
tooltip
=
"Report Misuse"
>
<
i
class
=
"icon icon-flag"
><
/i><span class="flag-label">Report Misuse</
span
><
/div>
<
i
class
=
"icon icon-flag"
><
/i><span class="flag-label">Report Misuse</
span
><
/div
>
%
if
course
and
has_permission
(
user
,
'openclose_thread'
,
course
.
id
):
%
if
course
and
has_permission
(
user
,
'openclose_thread'
,
course
.
id
):
<
div
class
=
"admin-pin discussion-pin notpinned"
data
-
role
=
"thread-pin"
data
-
tooltip
=
"pin this thread"
>
<
div
class
=
"admin-pin discussion-pin notpinned"
data
-
role
=
"thread-pin"
data
-
tooltip
=
"pin this thread"
>
<
i
class
=
"icon icon-pushpin"
><
/i><span class="pin-label">Pin Thread</
span
><
/div>
<
i
class
=
"icon icon-pushpin"
><
/i><span class="pin-label">Pin Thread</
span
><
/div
>
%
else
:
%
else
:
$
{
"<% if (pinned) { %>"
}
$
{
"<% if (pinned) { %>"
}
<
div
class
=
"discussion-pin notpinned"
data
-
role
=
"thread-pin"
data
-
tooltip
=
"pin this thread"
>
<
div
class
=
"discussion-pin notpinned"
data
-
role
=
"thread-pin"
data
-
tooltip
=
"pin this thread"
>
<
i
class
=
"icon icon-pushpin"
><
/i><span class="pin-label">Pin Thread</
span
><
/div>
<
i
class
=
"icon icon-pushpin"
><
/i><span class="pin-label">Pin Thread</
span
><
/div
>
$
{
"<% } %>"
}
$
{
"<% } %>"
}
%
endif
%
endif
...
...
lms/templates/discussion/mustache/_inline_thread_show.mustache
View file @
75079219
...
@@ -4,10 +4,10 @@
...
@@ -4,10 +4,10 @@
<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-flag-abuse notflagged"
data-role=
"thread-flag"
data-tooltip=
"Report Misuse"
>
<div
class=
"discussion-flag-abuse notflagged"
data-role=
"thread-flag"
data-tooltip=
"Report Misuse"
>
<i
class=
"icon"
></i><span
class=
"flag-label"
>
Flagged
</span></div>
<i
class=
"icon
icon-flag
"
></i><span
class=
"flag-label"
>
Flagged
</span></div>
<div
class=
"discussion-pin-inline pinned pinned-
{{
pinned
}}
"
data-tooltip=
"This thread has been pinned by course staff."
>
<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>
<i
class=
"icon
icon-pushpin
"
></i><span
class=
"pin-label"
>
Pinned
</span></div>
<p
class=
"posted-details"
>
<p
class=
"posted-details"
>
{{#
user
}}
{{#
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