Skip to content

Commit 48da600

Browse files
committed
Merge pull request #121 from robhoes/master
Design docs: add metadata and link to design review
2 parents 0cffb60 + ae74217 commit 48da600

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

_layouts/base.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,51 @@
7777
</div>
7878
<div class="col-md-9">
7979
<h1>{{page.title}}</h1>
80+
81+
{% if page.design_doc %}
82+
<table class="table table-bordered table-condensed small" style="width: 50%">
83+
<tr>
84+
<th colspan="2">Design document</th>
85+
</tr>
86+
<tr style="background-color: white">
87+
<td>Revision</td>
88+
<td><span class="label label-default">v{{page.revision}}</span></td>
89+
</tr>
90+
<tr style="background-color: white">
91+
<td>Status</td>
92+
<td>
93+
<span class="label
94+
{% assign status = p.status | downcase %}
95+
{% case status %}
96+
{% when "proposed" or "submitted" %}
97+
label-danger
98+
{% when "confirmed" or "accepted" %}
99+
label-warning
100+
{% else %}
101+
{% if status contains "released" %}
102+
label-success
103+
{% else %}
104+
label-info
105+
{% endif %}
106+
{% endcase %}
107+
">
108+
{{page.status}}
109+
</span>
110+
</td>
111+
</tr>
112+
<tr style="background-color: white">
113+
<td>Review</td>
114+
<td>
115+
{% if page.design_review %}
116+
<a href="http://github.com/xapi-project/xapi-project.github.io/issues/{{page.design_review}}">#{{page.design_review}}</a>
117+
{% else %}
118+
<a href="https://github.com/xapi-project/xapi-project.github.io/issues/new">create new issue</a>
119+
{% endif %}
120+
</td>
121+
</tr>
122+
</table>
123+
{% endif %}
124+
80125
{{content}}
81126
</div>
82127
</div>

features/futures/integrated-gpu-passthrough.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ layout: default
44
design_doc: true
55
revision: 3
66
status: released (6.5 SP1)
7+
design_review: 33
78
---
89

910
Introduction

xapi/design/fcoe-nics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ layout: default
44
design_doc: true
55
revision: 1
66
status: proposed
7+
design_review: 120
78
---
89

910
It has been possible to identify the NICs of a Host which can support FCoE.

0 commit comments

Comments
 (0)