Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
squareui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
squareui
Commits
c8157fcf1dad
Commit
c8157fcf1dad
authored
10 years ago
by
Rémi Cardona
Browse files
Options
Downloads
Patches
Plain Diff
[basetemplates] Fix typo: dispaly -> display
parent
c89950b2fef7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/basetemplates.py
+3
-3
3 additions, 3 deletions
views/basetemplates.py
with
3 additions
and
3 deletions
views/basetemplates.py
+
3
−
3
View file @
c8157fcf
...
...
@@ -217,9 +217,9 @@
w
=
self
.
w
w
(
u
'
<nav class=
"
navbar %s
"
role=
"
banner
"
>
'
%
self
.
css
[
'
navbar-extra
'
])
w
(
u
'
<div class=
"
%s
"
>
'
%
self
.
css
[
'
container-cls
'
])
self
.
disp
a
ly_navbar_header
(
w
,
view
)
self
.
displ
a
y_navbar_header
(
w
,
view
)
w
(
u
'
<div id=
"
tools-group
"
class=
"
collapse navbar-collapse
"
>
'
)
self
.
display_header_components
(
w
,
view
,
'
header-left
'
)
self
.
display_header_components
(
w
,
view
,
'
header-right
'
)
w
(
u
'
</div></div></nav>
'
)
...
...
@@ -221,9 +221,9 @@
w
(
u
'
<div id=
"
tools-group
"
class=
"
collapse navbar-collapse
"
>
'
)
self
.
display_header_components
(
w
,
view
,
'
header-left
'
)
self
.
display_header_components
(
w
,
view
,
'
header-right
'
)
w
(
u
'
</div></div></nav>
'
)
def
disp
a
ly_navbar_header
(
self
,
w
,
view
):
def
displ
a
y_navbar_header
(
self
,
w
,
view
):
w
(
u
'''
<div class=
"
navbar-header
"
>
<button class=
"
navbar-toggle
"
data-target=
"
#tools-group
"
data-toggle=
"
collapse
"
type=
"
button
"
>
<span class=
"
sr-only
"
>%(toggle_label)s</span>
...
...
@@ -237,7 +237,7 @@
component
.
render
(
w
=
w
)
w
(
u
'
</div>
'
)
basetemplates
.
HTMLPageHeader
.
disp
a
ly_navbar_header
=
disp
a
ly_navbar_header
basetemplates
.
HTMLPageHeader
.
displ
a
y_navbar_header
=
displ
a
y_navbar_header
def
display_header_components
(
self
,
w
,
view
,
context
):
components
=
self
.
get_components
(
view
,
context
=
context
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment