-
Notifications
You must be signed in to change notification settings - Fork 1
/
pagemeta.html
22 lines (19 loc) · 960 Bytes
/
pagemeta.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class="pagemeta">
{%- if page.status -%}
<div class="btn-group">
<button type="button" disabled="disabled" class="status btn btn-{% case page.status %}{% when 'Keskeneräinen' %}danger{% when 'Luonnos' %}warning{% when 'Ehdotus' %}warning{% when 'Hyväksytty' %}success{% else %}info{% endcase %}">{{ page.status }}</button>
</div>
{%- endif -%}
<div class="changelog">
<div id="last-modified"></div>
<div id="change-history"></div>
</div>
<div class="feedback">
{%- assign feedbackURL = "https://github.com/" | append: gh_repo | append: "/issues/new?labels=Palaute&title=" -%}
{%- if pageTitle -%}
{%- assign escapedTitle = pageTitle | cgi_escape -%}
{%- assign feedbackURL = feedbackURL | append: escapedTitle -%}
{%- endif -%}
<a href="{{ feedbackURL }}"><i class="far fa-comment-alt"></i> Raportoi virhe tai puute</a>
</div>
</div>