Skip to content

Commit

Permalink
Merge pull request #89 from Bearsampp/bruno
Browse files Browse the repository at this point in the history
Add Bruno download link and version badge to homepage summary template Fixes #88
  • Loading branch information
jwaisner authored Oct 5, 2024
2 parents 91581bb + 66f975d commit deb7ed5
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions core/resources/homepage/tpls/hp.summary.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<!--
~ Copyright (c) 2021-2024 Bearsampp
~ License: GNU General Public License version 3 or later; see LICENSE.txt
~ Author: Bear
~ Website: https://bearsampp.com
~ Github: https://github.com/Bearsampp
~ /*
~ * Copyright (c) 2021-2024 Bearsampp
~ * License: GNU General Public License version 3 or later; see LICENSE.txt
~ * Website: https://bearsampp.com
~ * Github: https://github.com/Bearsampp
~ */
-->

<div class = "row summary">
Expand Down Expand Up @@ -99,7 +100,16 @@ <h3 class = "card-title bg-dark text-light p-1"><i class = "fa-solid fa-wrench">
</div>
<div class = "card-body card-summary">
<div class = "list-group" style = "margin-bottom:0;">
<span class = "list-group-item">
<span class = "list-group-item">
<a aria-label = "Download Bruno" href = "<?php echo Util::getWebsiteUrl('module/bruno', '#releases'); ?>" target = "_blank"
title = "<?php echo $downloadTitle; ?>">
<span class = "float-end ms-2"><i class = "fa-solid fa-cloud-arrow-down"></i>
</span>
</a>
<span class = "float-end badge text-bg-primary"><?php echo $bearsamppTools->getBruno()->getVersion(); ?></span>
<span><?php echo $bearsamppLang->getValue(Lang::BRUNO); ?></span>
</span>
<span class = "list-group-item">
<a aria-label = "Download Composer" href = "<?php echo Util::getWebsiteUrl('module/composer', '#releases'); ?>" target = "_blank"
title = "<?php echo $downloadTitle; ?>">
<span class = "float-end ms-2"><i class = "fa-solid fa-cloud-arrow-down"></i>
Expand Down

0 comments on commit deb7ed5

Please sign in to comment.