@@ -24,58 +24,58 @@ <h2>Storage</h2>
24
24
</ article >
25
25
26
26
< article >
27
- < h2 > Build </ h2 >
27
+ < h2 > Retention Policy </ h2 >
28
28
< figure >
29
29
< table >
30
30
< tbody >
31
+ {{if .RetentionPolicy.EnvelopeCount}}
31
32
< tr >
32
- < th scope ="row "> < strong > Built By </ strong > </ th >
33
- < td > {{build.BuiltBy }}</ td >
33
+ < th scope ="row "> < strong > Envelope Count </ strong > </ th >
34
+ < td > {{.RetentionPolicy.EnvelopeCount }}</ td >
34
35
</ tr >
36
+ {{end}}
37
+ {{if .RetentionPolicy.EnvelopeAge}}
35
38
< tr >
36
- < th scope ="row "> < strong > Commit </ strong > </ th >
37
- < td > < a href =" {{build.CommitURL}} " > {{build.Commit}} </ a > </ td >
39
+ < th scope ="row "> < strong > Envelope Age </ strong > </ th >
40
+ < td > {{.RetentionPolicy.EnvelopeAge}} </ td >
38
41
</ tr >
42
+ {{end}}
39
43
< tr >
40
- < th scope ="row "> < strong > Date </ strong > </ th >
41
- < td > {{build.Date }}</ td >
44
+ < th scope ="row "> < strong > Minimum Envelope Age </ strong > </ th >
45
+ < td > {{.RetentionPolicy.MinEnvelopeAge }}</ td >
42
46
</ tr >
47
+ {{if .RetentionPolicy.AttachmentSize}}
43
48
< tr >
44
- < th scope ="row "> < strong > Version </ strong > </ th >
45
- < td > {{build.Version }}</ td >
49
+ < th scope ="row "> < strong > Attachment Size </ strong > </ th >
50
+ < td > {{bytesHumanize .RetentionPolicy.AttachmentSize }}</ td >
46
51
</ tr >
52
+ {{end}}
47
53
</ tbody >
48
54
</ table >
49
55
</ figure >
50
56
</ article >
51
57
52
58
< article >
53
- < h2 > Retention Policy </ h2 >
59
+ < h2 > Build </ h2 >
54
60
< figure >
55
61
< table >
56
62
< tbody >
57
- {{if .RetentionPolicy.EnvelopeCount}}
58
63
< tr >
59
- < th scope ="row "> < strong > Envelope Count </ strong > </ th >
60
- < td > {{.RetentionPolicy.EnvelopeCount }}</ td >
64
+ < th scope ="row "> < strong > Built By </ strong > </ th >
65
+ < td > {{build.BuiltBy }}</ td >
61
66
</ tr >
62
- {{end}}
63
- {{if .RetentionPolicy.EnvelopeAge}}
64
67
< tr >
65
- < th scope ="row "> < strong > Envelope Age </ strong > </ th >
66
- < td > {{.RetentionPolicy.EnvelopeAge}} </ td >
68
+ < th scope ="row "> < strong > Commit </ strong > </ th >
69
+ < td > < a href =" {{build.CommitURL}} " > {{build.Commit}} </ a > </ td >
67
70
</ tr >
68
- {{end}}
69
71
< tr >
70
- < th scope ="row "> < strong > Minimum Envelope Age </ strong > </ th >
71
- < td > {{.RetentionPolicy.MinEnvelopeAge }}</ td >
72
+ < th scope ="row "> < strong > Date </ strong > </ th >
73
+ < td > {{build.Date }}</ td >
72
74
</ tr >
73
- {{if .RetentionPolicy.AttachmentSize}}
74
75
< tr >
75
- < th scope ="row "> < strong > Attachment Size </ strong > </ th >
76
- < td > {{bytesHumanize .RetentionPolicy.AttachmentSize }}</ td >
76
+ < th scope ="row "> < strong > Version </ strong > </ th >
77
+ < td > {{build.Version }}</ td >
77
78
</ tr >
78
- {{end}}
79
79
</ tbody >
80
80
</ table >
81
81
</ figure >
0 commit comments