Commit 7f29723b authored by Daniel Brötzmann's avatar Daniel Brötzmann

Download: Add Beta download button

parent f99e59a0
Pipeline #5581 passed with stage
in 1 second
......@@ -13,6 +13,12 @@ You can either install Gajim on your system or use the portable version. Gajim P
{{< download_btn_windows label="Download" recommended="Recommended download">}}
### Beta and Nightly
Gajim 1.2 Beta 1 is now available for testing.
{{< download_btn_windows beta="True" label="Download Beta">}}
If you are curious, you can also try the [latest nightly](https://gajim.org/downloads/snap/win/) of Gajim. But be advised, nightlies can be unstable. Make sure to have a backup of your profile folder. Migrating back is not possible without complications.
{{< os_header os="macos">}}
......
......@@ -3,5 +3,9 @@
"WinSetup64": "https://gajim.org/downloads/1.1/gajim-1.1.3-64bits-1.exe",
"WinSetup32": "https://gajim.org/downloads/1.1/gajim-1.1.3-32bits-1.exe",
"WinSetup64Portable": "https://gajim.org/downloads/1.1/gajim-portable-1.1.3-64bits-1.exe",
"WinSetup32Portable": "https://gajim.org/downloads/1.1/gajim-portable-1.1.3-32bits-1.exe"
"WinSetup32Portable": "https://gajim.org/downloads/1.1/gajim-portable-1.1.3-32bits-1.exe",
"WinSetup64_Beta": "https://gajim.org/downloads/1.2/Gajim-1.2.0-beta1-64bit-2020-05-01.exe",
"WinSetup32_Beta": "https://gajim.org/downloads/1.2/Gajim-1.2.0-beta1-32bit-2020-05-01.exe",
"WinSetup64Portable_Beta": "https://gajim.org/downloads/1.2/Gajim-Portable-1.2.0-beta1-64bit-2020-05-01.exe",
"WinSetup32Portable_Beta": "https://gajim.org/downloads/1.2/Gajim-Portable-1.2.0-beta1-32bit-2020-05-01.exe"
}
{{ if eq (.Get "beta") "True" }}
<div class="dropdown show">
<a class="btn btn-success-light dropdown-toggle" href="#" role="button" id="win_beta_download" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ .Get "label" }}</a>
<div class="dropdown-menu" aria-labelledby="win_beta_download">
<a class="dropdown-item" href="{{.Site.Data.Gajim.WinSetup64_Beta}}">Gajim (64 Bit)</a>
<a class="dropdown-item" href="{{.Site.Data.Gajim.WinSetup32_Beta}}">Gajim (32 Bit)</a>
<a class="dropdown-item" href="{{.Site.Data.Gajim.WinSetup64Portable_Beta}}">Gajim Portable (64 Bit)</a>
<a class="dropdown-item" href="{{.Site.Data.Gajim.WinSetup32Portable_Beta}}">Gajim Portable (32 Bit)</a>
</div>
</div>
{{ else }}
<div class="dropdown show">
<a class="btn btn-success dropdown-toggle" href="#" role="button" id="win_download" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ .Get "label" }}</a>
<div class="dropdown-menu" aria-labelledby="win_download">
......@@ -6,4 +17,5 @@
<a class="dropdown-item" href="{{.Site.Data.Gajim.WinSetup64Portable}}">Gajim Portable (64 Bit)</a>
<a class="dropdown-item" href="{{.Site.Data.Gajim.WinSetup32Portable}}">Gajim Portable (32 Bit)</a>
</div>
</div>
\ No newline at end of file
</div>
{{ end }}
......@@ -730,6 +730,13 @@ input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus, .gs
font-weight: bold;
text-decoration: none;
}
.btn-success-light {
background-color: #fff;
border-color: #4cae4c;
color: #505050;
font-weight: bold;
text-decoration: none;
}
.btn-light:hover {
background-color: #e4e4e4;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment