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
d804f637
Commit
d804f637
authored
Jan 14, 2015
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add wrapper to discussion topic dropdown.
parent
e28dde32
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
common/static/coffee/spec/discussion/discussion_spec_helper.coffee
+2
-0
common/templates/discussion/_underscore_templates.html
+2
-0
No files found.
common/static/coffee/spec/discussion/discussion_spec_helper.coffee
View file @
d804f637
...
@@ -405,6 +405,7 @@ browser and pasting the output. When that file changes, this one should be rege
...
@@ -405,6 +405,7 @@ browser and pasting the output. When that file changes, this one should be rege
</script>
</script>
<script aria-hidden="true" type="text/template" id="topic-template">
<script aria-hidden="true" type="text/template" id="topic-template">
<div class="topic-wrapper">
<div class="field-label">
<div class="field-label">
<span class="field-label-text">Topic Area:</span><div class="field-input post-topic">
<span class="field-label-text">Topic Area:</span><div class="field-input post-topic">
<a href="#" class="post-topic-button">
<a href="#" class="post-topic-button">
...
@@ -423,6 +424,7 @@ browser and pasting the output. When that file changes, this one should be rege
...
@@ -423,6 +424,7 @@ browser and pasting the output. When that file changes, this one should be rege
</div><span class="field-help">
</div><span class="field-help">
Add your post to a relevant topic to help others find it.
Add your post to a relevant topic to help others find it.
</span>
</span>
</div>
</script>
</script>
...
...
common/templates/discussion/_underscore_templates.html
View file @
d804f637
...
@@ -486,6 +486,7 @@ from django_comment_client.permissions import has_permission
...
@@ -486,6 +486,7 @@ from django_comment_client.permissions import has_permission
<script
aria-hidden=
"true"
type=
"text/template"
id=
"topic-template"
>
<script
aria-hidden=
"true"
type=
"text/template"
id=
"topic-template"
>
##
Using
div
here
instead
of
label
because
we
are
using
a
non
-
native
control
##
Using
div
here
instead
of
label
because
we
are
using
a
non
-
native
control
<
div
class
=
"topic-wrapper"
>
<
div
class
=
"field-label"
>
<
div
class
=
"field-label"
>
<
span
class
=
"field-label-text"
>
$
{
_
(
"Topic Area:"
)}
<
/span><div class="field-input post-topic"
>
<
span
class
=
"field-label-text"
>
$
{
_
(
"Topic Area:"
)}
<
/span><div class="field-input post-topic"
>
<
a
href
=
"#"
class
=
"post-topic-button"
>
<
a
href
=
"#"
class
=
"post-topic-button"
>
...
@@ -504,6 +505,7 @@ from django_comment_client.permissions import has_permission
...
@@ -504,6 +505,7 @@ from django_comment_client.permissions import has_permission
<
/div><span class="field-help" id="field_help_topic_area"
>
<
/div><span class="field-help" id="field_help_topic_area"
>
$
{
_
(
"Add your post to a relevant topic to help others find it."
)}
$
{
_
(
"Add your post to a relevant topic to help others find it."
)}
<
/span
>
<
/span
>
<
/div
>
</script>
</script>
<
%
def
name=
"primaryAction(action_class, icon, sr_label, unchecked_label, checked_label)"
>
<
%
def
name=
"primaryAction(action_class, icon, sr_label, unchecked_label, checked_label)"
>
...
...
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