Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
7ecbb373
Commit
7ecbb373
authored
Mar 28, 2017
by
Robert Lyon
Committed by
Gerrit Code Review
Mar 28, 2017
Browse files
Merge "Bug 1676570: Added tool tips for nav menu"
parents
f34d3235
8b167283
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/lang/en.utf8/mahara.php
View file @
7ecbb373
...
...
@@ -85,6 +85,9 @@ $string['admin'] = 'Admin';
$string
[
'menu'
]
=
'Menu'
;
$string
[
'adminmenu'
]
=
'Administration Menu'
;
$string
[
'usermenu'
]
=
'User Menu'
;
// nav tool tips
$string
[
'profilepage'
]
=
"Profile page"
;
$string
[
'mainmenu'
]
=
"Main menu"
;
$string
[
'at'
]
=
'at'
;
$string
[
'From'
]
=
'From'
;
...
...
htdocs/theme/raw/templates/header.tpl
View file @
7ecbb373
...
...
@@ -43,22 +43,22 @@
<div
class=
"container"
>
<div
class=
"nav-toggle-area"
>
{
if
$MAINNAV
}
<button
class=
"main-nav-toggle navbar-toggle collapsed"
role=
"button"
data-toggle=
"collapse"
data-target=
".nav-main"
aria-expanded=
"false"
aria-controls=
"nav-main"
>
<button
class=
"main-nav-toggle navbar-toggle collapsed"
role=
"button"
data-toggle=
"collapse"
data-target=
".nav-main"
aria-expanded=
"false"
aria-controls=
"nav-main"
title=
'
{
str
tag
=
"mainmenu"
}
'
>
<span
class=
"sr-only"
>
{
str
tag
=
"show"
}
{
str
tag
=
"menu"
}
</span>
<span
class=
"icon icon-bars icon-lg"
role=
"presentation"
aria-hidden=
"true"
></span>
</button>
{/
if
}
{
if
$MAINNAVADMIN
}
<button
class=
"admin-toggle navbar-toggle collapsed"
role=
"button"
data-toggle=
"collapse"
data-target=
".nav-main-admin"
aria-expanded=
"false"
aria-controls=
"nav-main-admin"
>
<button
class=
"admin-toggle navbar-toggle collapsed"
role=
"button"
data-toggle=
"collapse"
data-target=
".nav-main-admin"
aria-expanded=
"false"
aria-controls=
"nav-main-admin"
title=
'
{
str
tag
=
"adminmenu"
}
'
>
<span
class=
"sr-only"
>
{
str
tag
=
"show"
}
{
str
tag
=
"adminmenu"
}
</span>
<span
class=
"icon icon-wrench icon-large"
role=
"presentation"
aria-hidden=
"true"
></span>
</button>
{/
if
}
{
if
$LOGGEDIN
}
<a
href=
"
{
profile_url
(
$USER
)
}
"
class=
"user-icon"
>
<a
href=
"
{
profile_url
(
$USER
)
}
"
class=
"user-icon"
title=
'
{
str
tag
=
"profilepage"
}
'
>
<img
src=
"
{
profile_icon_url
user
=
$USER
maxheight
=
25
maxwidth
=
25
}
"
>
</a>
<button
class=
"user-toggle navbar-toggle"
role=
"button"
data-toggle=
"collapse"
data-target=
".nav-main-user"
aria-expanded=
"false"
aria-controls=
"nav-main-user"
>
<button
class=
"user-toggle navbar-toggle"
role=
"button"
data-toggle=
"collapse"
data-target=
".nav-main-user"
aria-expanded=
"false"
aria-controls=
"nav-main-user"
title=
'
{
str
tag
=
"usermenu"
}
'
>
<span
class=
"sr-only"
>
{
str
tag
=
"show"
}
{
str
tag
=
"usermenu"
}
</span>
<span
class=
"icon icon-chevron-down collapsed"
></span>
</button>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment