feat: add support bundle notice to viewer
This commit is contained in:
@@ -11,9 +11,21 @@
|
||||
<div>
|
||||
<h1>{{ .Title }}</h1>
|
||||
</div>
|
||||
{{ if .DownloadArchiveURL }}
|
||||
<div class="header-actions">
|
||||
<a class="header-action" href="{{ .DownloadArchiveURL }}">{{ if .DownloadArchiveLabel }}{{ .DownloadArchiveLabel }}{{ else }}Download archive{{ end }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</header>
|
||||
|
||||
<main class="page-main">
|
||||
{{ if .NoticeTitle }}
|
||||
<section class="notice-panel">
|
||||
<h2>{{ .NoticeTitle }}</h2>
|
||||
<p>{{ .NoticeBody }}</p>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ if .HasSnapshot }}
|
||||
<section class="meta-panel">
|
||||
<h2>Snapshot Metadata</h2>
|
||||
|
||||
Reference in New Issue
Block a user