Skip to content

Commit cb100b3

Browse files
romanetarsmarcet
andauthored
feat: marketplace content tweaks (#374)
* feat: content tweaks Signed-off-by: romanetar <roman_ag@hotmail.com> * feat: show test detail list regardless isOpenStackPowered flag Signed-off-by: romanetar <roman_ag@hotmail.com> * fix: openstack powered on marketplace company --------- Signed-off-by: romanetar <roman_ag@hotmail.com> Co-authored-by: smarcet <smarcet@gmail.com>
1 parent 064e6a0 commit cb100b3

7 files changed

Lines changed: 9 additions & 64 deletions

marketplace/templates/Layout/CloudsDirectoryPage_cloud.ss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
</div>
1515
<div class="col-sm-9 marketplace-body">
1616
<% include MarketPlaceCompany %>
17-
<% include OpenStackImplementationCapabilities %>
1817
<div class="row">
1918
<div class="col-lg-6">
2019
<h3 style="color: #000000 !important;">Other Details</h3>

marketplace/templates/Layout/DistributionsDirectoryPage_implementation.ss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
</div>
1414
<div class="col-sm-9 marketplace-body">
1515
<% include MarketPlaceCompany %>
16-
<% include OpenStackImplementationCapabilities %>
1716
<div class="row">
1817
<div class="col-lg-6">
1918
<h3 style="color: #000000 !important;">Other Details</h3>

marketplace/templates/Layout/Includes/CloudsDirectoryPage_CloudBox.ss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
<p>$Overview</p>
1818
<% if isOpenStackTested %>
1919
<div class="tested-listing">
20-
<i class="fa fa-check-square"></i>
21-
<div class="tested-listing-title">Tested</div>
22-
<div class="tested-listing-description">OpenStack Powered $TestedCapabilityTypeLabel $ProgramVersion.Name</div>
20+
<img src="/marketplace/code/ui/frontend/images/openstack-powered.png" alt="OpenStack Powered" width="90">
21+
<div class="tested-listing-description">OpenStack Powered</div>
2322
</div>
2423
<% end_if %>
2524
<a style="background-color: #{$Company.CompanyColor}" href="$CloudLink{$Company.URLSegment}/{$Slug}" class="details-button">Details</a>

marketplace/templates/Layout/Includes/DistributionsDirectoryPage_ImplementationBox.ss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
<p>$Overview</p>
1818
<% if isOpenStackTested %>
1919
<div class="tested-listing">
20-
<i class="fa fa-check-square"></i>
21-
<div class="tested-listing-title">Tested</div>
22-
<div class="tested-listing-description">OpenStack Powered $TestedCapabilityTypeLabel $ProgramVersion.Name</div>
20+
<img src="/marketplace/code/ui/frontend/images/openstack-powered.png" alt="OpenStack Powered" width="90">
21+
<div class="tested-listing-description">OpenStack Powered</div>
2322
</div>
2423
<% end_if %>
2524
<a style="background-color: #{$Company.CompanyColor}" href="<% with $MarketPlace %><% if Name == "Appliance" %>$Top.ApplianceLink<% end_if %><% if Name == "Distribution" %>$Top.DistroLink<% end_if %><% end_with %>/{$Company.URLSegment}/{$Slug}" class="details-button">Details</a>

marketplace/templates/Layout/Includes/MarketPlaceCompany.ss

Lines changed: 3 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -11,66 +11,17 @@
1111
<p>$Overview</p>
1212
</div>
1313
</div>
14-
<% if isOpenStackPowered %>
14+
<% if isOpenStackTested %>
1515
<div class="row powered-wrapper">
1616
<div class="col-sm-12">
1717
<div class="powered-image">
1818
<img src="/marketplace/code/ui/frontend/images/openstack-powered.png" alt="OpenStack Powered" width="170">
1919
</div>
2020
<div class="powered-description">
21-
<p>
22-
This product is OpenStack Powered. It contains OpenStack software and has been validated through testing to provide API compatibility for OpenStack core services. <a href="/brand/interop/">Learn more about the testing criteria and core services here</a>.
23-
<% if isOpenStackTested %>
24-
<div class="tested-badge-wrapper">
25-
<div class="tested-badge">
26-
<div class="tested-icon">
27-
<i class="fa fa-check"></i>
28-
</div>
29-
<div class="tested-text">
30-
Tested
31-
</div>
32-
</div>
33-
<div class="tested-description">OpenStack Powered $TestedCapabilityTypeLabel $ProgramVersion.Name .
34-
<a href="#" id="see-results-link">See full results [+]</a>.</div>
35-
</div>
36-
<% end_if %>
21+
<p>
22+
This product is OpenStack Powered. It contains OpenStack software and has been approved by the OpenInfra Foundation. <a href="/brand/openstack-powered/">Learn more about becoming an OpenStack Powered product here</a>.
3723
</p>
3824
</div>
39-
<% if isOpenStackTested %>
40-
<div class="test-details-list">
41-
<h4>OpenStack Powered $TestedCapabilityTypeLabel $ProgramVersion.Name</h4>
42-
<table>
43-
<tbody>
44-
<thead>
45-
<tr>
46-
<th>$TestedCapabilityTypeLabel Capabilities</th>
47-
<th>&nbsp;</th>
48-
</tr>
49-
</thead>
50-
<% loop TestedCapabilities %>
51-
<tr>
52-
<td>$Name</td>
53-
<td><i class="fa fa-check"></i></td>
54-
</tr>
55-
<% end_loop %>
56-
</tbody>
57-
<tbody>
58-
<thead>
59-
<tr>
60-
<th>Designated Sections</th>
61-
<th>&nbsp;</th>
62-
</tr>
63-
</thead>
64-
<% loop DesignatedSections %>
65-
<tr>
66-
<td>$Guidance</td>
67-
<td><i class="fa fa-check"></i></td>
68-
</tr>
69-
<% end_loop %>
70-
</tbody>
71-
</table>
72-
</div>
73-
<% end_if %>
7425
</div>
7526
</div>
7627
<% end_if %>

marketplace/templates/Layout/Includes/RemoteCloudsDirectoryPage_ImplementationBox.ss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
<p>$Overview</p>
1818
<% if isOpenStackTested %>
1919
<div class="tested-listing">
20-
<i class="fa fa-check-square"></i>
21-
<div class="tested-listing-title">Tested</div>
22-
<div class="tested-listing-description">OpenStack Powered $TestedCapabilityTypeLabel $ProgramVersion.Name</div>
20+
<img src="/marketplace/code/ui/frontend/images/openstack-powered.png" alt="OpenStack Powered" width="90">
21+
<div class="tested-listing-description">OpenStack Powered</div>
2322
</div>
2423
<% end_if %>
2524
<a style="background-color: #{$Company.CompanyColor}" href="$Link{$Company.URLSegment}/{$Slug}" class="details-button">Details</a>

marketplace/templates/Layout/RemoteCloudsDirectoryPage_implementation.ss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
</div>
1414
<div class="col-sm-9 marketplace-body">
1515
<% include MarketPlaceCompany %>
16-
<% include OpenStackImplementationCapabilities %>
1716
<div class="row">
1817
<div class="col-lg-6">
1918
<h3 style="color: #000000 !important;">Other Details</h3>

0 commit comments

Comments
 (0)