Skip to content

Commit

Permalink
chore: rename Files & Uploads page (openedx#33546)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperhodge committed Oct 19, 2023
1 parent 2482dd4 commit db4911b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cms/templates/asset_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from openedx.core.djangolib.markup import HTML, Text
from openedx.core.djangolib.js_utils import js_escaped_string, dump_js_escaped_json
%>
<%block name="title">${_("Files & Uploads")}</%block>
<%block name="title">${_("Files")}</%block>
<%block name="bodyclass">is-signedin course uploads view-uploads</%block>

<%namespace name='static' file='static_content.html'/>
Expand All @@ -25,7 +25,7 @@
<header class="mast has-actions has-subtitle">
<h2 class="page-header">
<small class="subtitle">${_("Content")}</small>
<span class="sr">- </span>${_("Files & Uploads")}
<span class="sr">- </span>${_("Files")}
</h2>
</header>
</div>
Expand Down
4 changes: 2 additions & 2 deletions cms/templates/widgets/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ <h3 class="title"><span class="label"><span class="label-prefix sr">${_("Course"
% endif
%if not files_uploads_mfe_enabled:
<li class="nav-item nav-course-courseware-uploads">
<a href="${assets_url}">${_("Files & Uploads")}</a>
<a href="${assets_url}">${_("Files")}</a>
</li>
%endif
%if files_uploads_mfe_enabled:
<li class="nav-item nav-course-courseware-uploads">
<a href="${get_files_uploads_url(course_key)}">${_("Files & Uploads")}</a>
<a href="${get_files_uploads_url(course_key)}">${_("Files")}</a>
</li>
%endif
% if not pages_and_resources_mfe_enabled:
Expand Down

0 comments on commit db4911b

Please sign in to comment.