mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-76020 theme: Add missing support links to footer in Classic theme
The "Services and support" and "Contact site support" links were missing from the footer in the Classic theme (which now has its own footer template), so there was no way to navigate to the relevant links.
This commit is contained in:
parent
3bc792b9b8
commit
3df326695e
@ -22,8 +22,11 @@
|
||||
Example context (json):
|
||||
{
|
||||
"output": {
|
||||
"course footer": "More information about this course",
|
||||
"page_doc_link": "<a href='https://docs.moodle.org/'>Help and documentation</a>"
|
||||
"course_footer": "More information about this course",
|
||||
"page_doc_link": "<a href='https://docs.moodle.org/'>Help and documentation</a>",
|
||||
"login_info": "You are logged in as cute kitten",
|
||||
"supportemail": "<a href=\"#\">Contact site support</a>",
|
||||
"services_support_link": "Services and support"
|
||||
}
|
||||
}
|
||||
}}
|
||||
@ -31,9 +34,17 @@
|
||||
<div class="container footer-dark-inner">
|
||||
<div id="course-footer">{{{ output.course_footer }}}</div>
|
||||
|
||||
{{# output.page_doc_link }}
|
||||
<p class="helplink">{{{ output.page_doc_link }}}</p>
|
||||
{{/ output.page_doc_link }}
|
||||
<div class="pb-3">
|
||||
{{# output.page_doc_link }}
|
||||
<div>{{{ output.page_doc_link }}}</div>
|
||||
{{/ output.page_doc_link }}
|
||||
{{# output.services_support_link }}
|
||||
<div>{{{ output.services_support_link }}}</div>
|
||||
{{/ output.services_support_link }}
|
||||
{{# output.supportemail }}
|
||||
<div>{{{ output.supportemail }}}</div>
|
||||
{{/ output.supportemail }}
|
||||
</div>
|
||||
|
||||
{{{ output.login_info }}}
|
||||
<div class="tool_usertours-resettourcontainer"></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user