mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Merge pull request #621 from bitcoin/status
Display a status icon on the Network status menu entry
This commit is contained in:
commit
5417f48821
9 changed files with 156 additions and 3 deletions
|
@ -7,8 +7,7 @@ title: Network status and alerts - Bitcoin
|
|||
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
|
||||
<div class="alerttext">
|
||||
<h1>Network status and alerts<a type="application/rss+xml" href="/en/rss/alerts.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
|
||||
{% assign active = false %}{% filter_for p in site.pages reversed sort_by:date category:alert %}{% if p.active == true %}{% assign active = true %}{% endif %}{% endfilter_for %}
|
||||
{% if active == false %}
|
||||
{% if site.STATUS == 0 %}
|
||||
<div class="alertstatusinactive">There is no ongoing event on the Bitcoin network.</div>
|
||||
{% else %}
|
||||
<div class="alertstatusactive"">The following network event is ongoing.</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue