Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-tool_lifecycle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-tool_lifecycle
Commits
89c76b17
Commit
89c76b17
authored
2 years ago
by
Nina Herrmann
Browse files
Options
Downloads
Patches
Plain Diff
Revert "forgot to push template class"
This reverts commit
34ff95ce
.
parent
80ae354c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/navigation_helper.mustache
+0
-52
0 additions, 52 deletions
templates/navigation_helper.mustache
with
0 additions
and
52 deletions
templates/navigation_helper.mustache
deleted
100644 → 0
+
0
−
52
View file @
80ae354c
{{
!
This
file
is
part
of
Moodle
-
http
:
//
moodle
.
org
/
Moodle
is
free
software
:
you
can
redistribute
it
and
/
or
modify
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
the
Free
Software
Foundation
,
either
version
3
of
the
License
,
or
(
at
your
option
)
any
later
version.
Moodle
is
distributed
in
the
hope
that
it
will
be
useful
,
but
WITHOUT
ANY
WARRANTY
;
without
even
the
implied
warranty
of
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE.
See
the
GNU
General
Public
License
for
more
details.
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
with
Moodle.
If
not
,
see
<
http
:
//
www
.
gnu
.
org
/
licenses
/
>
.
}}
{{
!
@template
tool_lifecycle
/
navigation_helper
toolbar
to
simplify
navigation.
Example
context
(
json
)
:
{
"navitems"
:
[
{
"navlink"
:
"http://localhost/moodle/admin/settings.php?section=tool_lifecycle"
"navname"
:
"Edit General settings"
},
{
"navlink"
:
"http://localhost/testlw/admin/tool/lifecycle/workflowdrafts.php"
"navname"
:
"Edit Workflow Drafts"
},
]
}
}}
<nav
class=
"moremenu navigation"
>
<ul
id=
"moremenu-
{{
moremenuid
}}
-
{{
navbarstyle
}}
"
role=
"
{{#
istablist
}}
tablist
{{/
istablist
}}{{^
istablist
}}
menubar
{{/
istablist
}}
"
class=
"nav more-nav
{{
navbarstyle
}}
"
>
{{#
nodecollection
}}
{{#
children
}}
{{>
core
/
moremenu_children
}}
{{/
children
}}
{{/
nodecollection
}}
<li
role=
"none"
class=
"nav-item dropdown dropdownmoremenu d-none"
data-region=
"morebutton"
>
<a
class=
"dropdown-toggle nav-link
{{#
isactive
}}
active
{{/
isactive
}}
"
href=
"#"
id=
"moremenu-dropdown-
{{
moremenuid
}}
"
role=
"
{{#
istablist
}}
tab
{{/
istablist
}}{{^
istablist
}}
menuitem
{{/
istablist
}}
"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
tabindex=
"-1"
>
{{#
str
}}
moremenu, core
{{/
str
}}
</a>
<ul
class=
"dropdown-menu dropdown-menu-left"
data-region=
"moredropdown"
aria-labelledby=
"moremenu-dropdown-
{{
moremenuid
}}
"
role=
"menu"
>
</ul>
</li>
</ul>
</nav>
<hr>
\ No newline at end of file
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