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
efe3833a
Commit
efe3833a
authored
Mar 05, 2014
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use display_name_with_default instead of display_name.
parent
0dbabc7a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
cms/templates/container.html
+3
-3
cms/templates/container_xblock_component.html
+1
-1
cms/templates/studio_vertical_wrapper.html
+1
-1
cms/templates/studio_xblock_wrapper.html
+1
-1
No files found.
cms/templates/container.html
View file @
efe3833a
...
...
@@ -16,7 +16,7 @@ from django.utils.translation import ugettext as _
<
%
xblock_info =
{
'
id
'
:
str
(
xblock_locator
),
'
display-name
'
:
xblock
.
display_name
,
'
display-name
'
:
xblock
.
display_name
_with_default
,
'
category
'
:
xblock
.
category
,
};
%
>
...
...
@@ -53,10 +53,10 @@ xblock_info = {
%
>
% if parent_url:
<a
href=
"${parent_url}"
class=
"navigation-link navigation-parent"
>
${parent.display_name | h}
</a>
class=
"navigation-link navigation-parent"
>
${parent.display_name
_with_default
| h}
</a>
% endif
% endfor
<a
href=
"#"
class=
"navigation-link navigation-current"
>
${xblock.display_name | h}
</a>
<a
href=
"#"
class=
"navigation-link navigation-current"
>
${xblock.display_name
_with_default
| h}
</a>
</small>
</h1>
...
...
cms/templates/container_xblock_component.html
View file @
efe3833a
...
...
@@ -7,7 +7,7 @@ from contentstore.views.helpers import xblock_studio_url
<section
class=
"wrapper-xblock xblock-type-container level-element"
data-locator=
"${locator}"
>
<header
class=
"xblock-header"
>
<div
class=
"header-details"
>
${xblock.display_name}
${xblock.display_name
_with_default
}
</div>
<div
class=
"header-actions"
>
<ul
class=
"actions-list"
>
...
...
cms/templates/studio_vertical_wrapper.html
View file @
efe3833a
...
...
@@ -8,7 +8,7 @@
<i
class=
"icon-caret-down ui-toggle-expansion"
></i>
<span
class=
"sr"
>
${_('Expand or Collapse')}
</span>
</a>
<span>
${xblock.display_name | h}
</span>
<span>
${xblock.display_name
_with_default
| h}
</span>
</div>
<div
class=
"header-actions"
>
<ul
class=
"actions-list"
>
...
...
cms/templates/studio_xblock_wrapper.html
View file @
efe3833a
...
...
@@ -8,7 +8,7 @@
% endif
<header
class=
"xblock-header"
>
<div
class=
"header-details"
>
${xblock.display_name | h}
${xblock.display_name
_with_default
| h}
</div>
<div
class=
"header-actions"
>
<ul
class=
"actions-list"
>
...
...
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