diff --git a/lms/static/sass/_discussion.scss b/lms/static/sass/_discussion.scss index 16474e7b33..fddf937a5e 100644 --- a/lms/static/sass/_discussion.scss +++ b/lms/static/sass/_discussion.scss @@ -1255,6 +1255,12 @@ body.discussion { font-style: italic; color: #888; + .username { + display: block; + font-size: 16px; + font-weight: 700; + } + span { font-style: italic; } @@ -1745,6 +1751,16 @@ body.discussion { padding-bottom: 0; margin-bottom: 15px; + .posted-details { + margin-top: 4px; + + .username { + display: inline; + font-size: 14px; + font-weight: 700; + } + } + h3 { font-size: 19px; font-weight: 700; @@ -1788,13 +1804,16 @@ body.discussion { margin-top: 10px; header { - padding-bottom: 0em; - margin-bottom: 5px; + padding-bottom: 0; + margin-bottom: 15px; .posted-by { - font-size: 0.8em; + float: left; + margin-right: 5px; + font-size: 16px; } } + .response-body { margin-bottom: 0.2em; font-size: 14px; diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html index 2c3585bb58..6c951b2253 100644 --- a/lms/templates/discussion/_underscore_templates.html +++ b/lms/templates/discussion/_underscore_templates.html @@ -25,10 +25,11 @@ + ${'<%- votes["up_count"] %>'}

${'<%- title %>'}

- ${'<%- created_at %>'} by ${"<% if (!obj.anonymous) { %>"} - ${'<%- username %>'} + ${'<%- username %>'} ${"<% } else {print('anonymous');} %>"} + ${'<%- created_at %>'} + diff --git a/lms/templates/discussion/mustache/_inline_thread.mustache b/lms/templates/discussion/mustache/_inline_thread.mustache index 3875c9e7bc..a874b728ce 100644 --- a/lms/templates/discussion/mustache/_inline_thread.mustache +++ b/lms/templates/discussion/mustache/_inline_thread.mustache @@ -5,13 +5,15 @@ + {{votes.up_count}}

{{title}}

- {{created_at}} by {{#user}} - {{username}} + {{username}} {{/user}} {{^user}} anonymous {{/user}} + + {{created_at}} +