Skip to content
Snippets Groups Projects
Unverified Commit 9130c280 authored by Zainab Amir's avatar Zainab Amir Committed by GitHub
Browse files

Suppress PII from discussion/forum (#25298)

parent 3dd6a463
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@
<% } %>
<div class="post-header-content">
<h<%- startHeader %> class="post-title"><%- title %></h<%- startHeader%>>
<p class="posted-details">
<p data-hj-suppress class="posted-details">
<%
var timeAgoHtml = interpolate(
'<span class="timeago" title="%(created_at)s">%(created_at)s</span>',
......@@ -174,7 +174,7 @@
</script>
<script aria-hidden="true" type="text/template" id="thread-response-show-template">
<header class="response-header">
<div class="response-header-content">
<div data-hj-suppress class="response-header-content">
<%= HtmlUtils.HTML(author_display) %>
<p class="posted-details">
<span class="timeago" title="<%= HtmlUtils.HTML(created_at) %>"><%= HtmlUtils.HTML(created_at) %></span>
......
......@@ -48,7 +48,7 @@ from openedx.core.djangolib.js_utils import dump_js_escaped_json, js_escaped_str
<div>
<h2 class="discussion-profile-title">${_("Discussion")}</h2>
<%def name="span(num)"><span class="discussion-count">${num}</span></%def>
<span class="user-name"><a href="${learner_profile_page_url}">${django_user.username}</a></span>
<span data-hj-suppress class="user-name"><a href="${learner_profile_page_url}">${django_user.username}</a></span>
<span class="discussion-profile-info">
<span class="user-roles">${", ".join(_(role_name) for role_name in django_user_roles)}</span>
</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment