Skip to content

Commit

Permalink
brings funder logo and minor revisions to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-c committed Jan 26, 2024
1 parent bc78944 commit 2e77f5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions classes/output/core_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,11 @@ public function logo_src() {
return $OUTPUT->image_url('University-of-Regina-Hill-Levene-Schools-of-Business-Logo', 'theme');
}

public function funding_logo_src() {
global $OUTPUT;
return $OUTPUT->image_url('canada-wordmark-colour', 'theme');
}

public function funding_statement() {
$lang = \current_language();
if ($lang == 'en') {
Expand Down
9 changes: 5 additions & 4 deletions templates/footer.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}}

<footer id="page-footer" class="footer bg-white">
<div class="footer-content container" data-region="footer-content">
<div class="footer-content container-fluid" data-region="footer-content">
{{# output.has_popover_links }}
<div class="footer-section py-3 border-bottom footer-support">

Expand All @@ -73,9 +73,10 @@
<!--{{{ output.standard_footer_html }}}-->
{{{ output.standard_end_of_body_html }}}
</div>
<div class="footer-section px-0 py-3 d-flex flex-row flex-wrap">
<div class="footer-logo col-sm-1 col-md-5 px-0"><a href="https://www.uregina.ca/business/" target="_blank"><img src="{{{output.logo_src}}}" width="310" height="44"></a></div>
<div class="footer-funding col-sm-1 col-md-7 px-0"><p class="small">{{{ output.funding_statement }}}</p></div>
<div class="footer-section px-3 py-3 row align-items-center">
<div class="footer-logo col-6 col-md-5 px-0"><a href="https://www.uregina.ca/business/" target="_blank"><img class="img-fluid" src="{{{output.logo_src}}}"></a></div>
<div class="footer-fund-logo col-6 col-md-2 px-0"><img class="img-fluid" src="{{{output.funding_logo_src}}}"></div>
<div class="footer-funding col-sm-12 col-md-5 px-0"><p class="small">{{{ output.funding_statement }}}</p></div>
</div>
</div>

Expand Down

0 comments on commit 2e77f5c

Please sign in to comment.