Skip to content

Commit 4401179

Browse files
committed
Fix list item formatting
1 parent dfe3686 commit 4401179

File tree

2 files changed

+60
-26
lines changed

2 files changed

+60
-26
lines changed

templates/docs/examples/patterns/rich-list/vertical/default.html

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,23 @@
4242
<li class="p-list__item is-ticked">No mandatory subscriptions for Ubuntu</li>
4343
{%- endif -%}
4444
{%- if slot == 'list_item_2' -%}
45-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/security">Security</a>, <a
46-
href="https://ubuntu.com/support">support</a> and fully managed <a
47-
href="https://ubuntu.com/openstack/managed">infra</a> and <a
48-
href="https://ubuntu.com/managed/apps">apps</a></li>
45+
<li class="p-list__item is-ticked">
46+
<a href="https://ubuntu.com/security">Security</a>,
47+
<a href="https://ubuntu.com/support">Support</a>,
48+
and fully managed
49+
<a href="https://ubuntu.com/openstack/managed">Infra</a>
50+
and
51+
<a href="https://ubuntu.com/managed/apps">Apps</a>
52+
</li>
4953
{%- endif -%}
5054
{%- if slot == 'list_item_3' -%}
51-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/cloud/public-cloud">Public cloud</a>, <a
52-
href="https://ubuntu.com/download/server">data centre</a>, <a href="https://microk8s.io/">edge cluster</a>
53-
and <a href="https://ubuntu.com/appliance">appliances</a></li>
55+
<li class="p-list__item is-ticked">
56+
<a href="https://ubuntu.com/cloud/public-cloud">Public cloud</a>,
57+
<a href="https://ubuntu.com/download/server">Data centre</a>,
58+
<a href="https://microk8s.io/">Edge cluster</a>
59+
and
60+
<a href="https://ubuntu.com/appliance">Appliances</a>
61+
</li>
5462
{%- endif -%}
5563
{%- if slot == 'list_item_4' -%}
5664
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/about/release-cycle">Long term maintenance
@@ -60,16 +68,25 @@
6068
<li class="p-list__item is-ticked">Transparent pricing for enterprise and ISV</li>
6169
{%- endif -%}
6270
{%- if slot == 'list_item_6' -%}
63-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/engage/from-vmware-to-open-source">Switch from
64-
VMware to OpenStack</a></li>
71+
<li class="p-list__item is-ticked">
72+
<a href="https://ubuntu.com/engage/from-vmware-to-open-source">
73+
Switch from VMware to OpenStack
74+
</a>
75+
</li>
6576
{%- endif -%}
6677
{%- if slot == 'list_item_7' -%}
67-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/openstack/pricing-calculator">TCO analysis of Open
68-
Infra</a></li>
78+
<li class="p-list__item is-ticked">
79+
<a href="https://ubuntu.com/openstack/pricing-calculator">
80+
TCO analysis of Open Infra
81+
</a>
82+
</li>
6983
{%- endif -%}
7084
{%- if slot == 'list_item_8' -%}
71-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/engage/cloud-economics">451 study on private/public
72-
cloud cost</a></li>
85+
<li class="p-list__item is-ticked">
86+
<a href="https://ubuntu.com/engage/cloud-economics">
87+
451 study on private/public cloud cost
88+
</a>
89+
</li>
7390
{%- endif -%}
7491
{%- if slot == 'cta' -%}
7592
<a href="#" class="p-button">Learn more</a>

templates/docs/examples/patterns/rich-list/vertical/flipped.html

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,23 @@
4343
<li class="p-list__item is-ticked">No mandatory subscriptions for Ubuntu</li>
4444
{%- endif -%}
4545
{%- if slot == 'list_item_2' -%}
46-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/security">Security</a>, <a
47-
href="https://ubuntu.com/support">support</a> and fully managed <a
48-
href="https://ubuntu.com/openstack/managed">infra</a> and <a
49-
href="https://ubuntu.com/managed/apps">apps</a></li>
46+
<li class="p-list__item is-ticked">
47+
<a href="https://ubuntu.com/security">Security</a>,
48+
<a href="https://ubuntu.com/support">Support</a>,
49+
and fully managed
50+
<a href="https://ubuntu.com/openstack/managed">Infra</a>
51+
and
52+
<a href="https://ubuntu.com/managed/apps">Apps</a>
53+
</li>
5054
{%- endif -%}
5155
{%- if slot == 'list_item_3' -%}
52-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/cloud/public-cloud">Public cloud</a>, <a
53-
href="https://ubuntu.com/download/server">data centre</a>, <a href="https://microk8s.io/">edge cluster</a>
54-
and <a href="https://ubuntu.com/appliance">appliances</a></li>
56+
<li class="p-list__item is-ticked">
57+
<a href="https://ubuntu.com/cloud/public-cloud">Public cloud</a>,
58+
<a href="https://ubuntu.com/download/server">Data centre</a>,
59+
<a href="https://microk8s.io/">Edge cluster</a>
60+
and
61+
<a href="https://ubuntu.com/appliance">Appliances</a>
62+
</li>
5563
{%- endif -%}
5664
{%- if slot == 'list_item_4' -%}
5765
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/about/release-cycle">Long term maintenance
@@ -61,16 +69,25 @@
6169
<li class="p-list__item is-ticked">Transparent pricing for enterprise and ISV</li>
6270
{%- endif -%}
6371
{%- if slot == 'list_item_6' -%}
64-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/engage/from-vmware-to-open-source">Switch from
65-
VMware to OpenStack</a></li>
72+
<li class="p-list__item is-ticked">
73+
<a href="https://ubuntu.com/engage/from-vmware-to-open-source">
74+
Switch from VMware to OpenStack
75+
</a>
76+
</li>
6677
{%- endif -%}
6778
{%- if slot == 'list_item_7' -%}
68-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/openstack/pricing-calculator">TCO analysis of Open
69-
Infra</a></li>
79+
<li class="p-list__item is-ticked">
80+
<a href="https://ubuntu.com/openstack/pricing-calculator">
81+
TCO analysis of Open Infra
82+
</a>
83+
</li>
7084
{%- endif -%}
7185
{%- if slot == 'list_item_8' -%}
72-
<li class="p-list__item is-ticked"><a href="https://ubuntu.com/engage/cloud-economics">451 study on private/public
73-
cloud cost</a></li>
86+
<li class="p-list__item is-ticked">
87+
<a href="https://ubuntu.com/engage/cloud-economics">
88+
451 study on private/public cloud cost
89+
</a>
90+
</li>
7491
{%- endif -%}
7592
{%- if slot == 'cta' -%}
7693
<a href="#" class="p-button">Learn more</a>

0 commit comments

Comments
 (0)