Skip to content

Commit

Permalink
Add Bruno download link and version badge to homepage summary template
Browse files Browse the repository at this point in the history
Fixes #88
  • Loading branch information
N6REJ committed Oct 2, 2024
1 parent 4530ba0 commit 66f975d
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 66f975d

Please sign in to comment.