Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
cd7f252b
Unverified
Commit
cd7f252b
authored
7 years ago
by
Patrick H. Lauke
Committed by
GitHub
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Reword alert and list group text to avoid "a/an" problems
Closes
https://github.com/twbs/bootstrap/issues/25611
parent
27e670a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/4.0/components/alerts.md
+2
-2
docs/4.0/components/alerts.md
docs/4.0/components/list-group.md
+2
-2
docs/4.0/components/list-group.md
with
4 additions
and
4 deletions
+4
-4
docs/4.0/components/alerts.md
+
2
-
2
View file @
cd7f252b
...
@@ -13,7 +13,7 @@ Alerts are available for any length of text, as well as an optional dismiss butt
...
@@ -13,7 +13,7 @@ Alerts are available for any length of text, as well as an optional dismiss butt
{% example html %}
{% example html %}
{% for color in site.data.theme-colors %}
{% for color in site.data.theme-colors %}
<div
class=
"alert alert-{{ color.name }}"
role=
"alert"
>
<div
class=
"alert alert-{{ color.name }}"
role=
"alert"
>
This is a
{{ color.name }} alert—check it out!
A simple
{{ color.name }} alert—check it out!
</div>
{% endfor %}
</div>
{% endfor %}
{% endexample %}
{% endexample %}
...
@@ -27,7 +27,7 @@ Use the `.alert-link` utility class to quickly provide matching colored links wi
...
@@ -27,7 +27,7 @@ Use the `.alert-link` utility class to quickly provide matching colored links wi
{% example html %}
{% example html %}
{% for color in site.data.theme-colors %}
{% for color in site.data.theme-colors %}
<div
class=
"alert alert-{{ color.name }}"
role=
"alert"
>
<div
class=
"alert alert-{{ color.name }}"
role=
"alert"
>
This is a
{{ color.name }} alert with
<a
href=
"#"
class=
"alert-link"
>
an example link
</a>
. Give it a click if you like.
A simple
{{ color.name }} alert with
<a
href=
"#"
class=
"alert-link"
>
an example link
</a>
. Give it a click if you like.
</div>
{% endfor %}
</div>
{% endfor %}
{% endexample %}
{% endexample %}
...
...
This diff is collapsed.
Click to expand it.
docs/4.0/components/list-group.md
+
2
-
2
View file @
cd7f252b
...
@@ -103,7 +103,7 @@ Use contextual classes to style list items with a stateful background and color.
...
@@ -103,7 +103,7 @@ Use contextual classes to style list items with a stateful background and color.
<li
class=
"list-group-item"
>
Dapibus ac facilisis in
</li>
<li
class=
"list-group-item"
>
Dapibus ac facilisis in
</li>
{% for color in site.data.theme-colors %}
{% for color in site.data.theme-colors %}
<li
class=
"list-group-item list-group-item-{{ color.name }}"
>
This is a
{{ color.name }} list group item
</li>
{% endfor %}
<li
class=
"list-group-item list-group-item-{{ color.name }}"
>
A simple
{{ color.name }} list group item
</li>
{% endfor %}
</ul>
</ul>
{% endexample %}
{% endexample %}
...
@@ -114,7 +114,7 @@ Contextual classes also work with `.list-group-item-action`. Note the addition o
...
@@ -114,7 +114,7 @@ Contextual classes also work with `.list-group-item-action`. Note the addition o
<a
href=
"#"
class=
"list-group-item list-group-item-action"
>
Dapibus ac facilisis in
</a>
<a
href=
"#"
class=
"list-group-item list-group-item-action"
>
Dapibus ac facilisis in
</a>
{% for color in site.data.theme-colors %}
{% for color in site.data.theme-colors %}
<a
href=
"#"
class=
"list-group-item list-group-item-action list-group-item-{{ color.name }}"
>
This is a
{{ color.name }} list group item
</a>
{% endfor %}
<a
href=
"#"
class=
"list-group-item list-group-item-action list-group-item-{{ color.name }}"
>
A simple
{{ color.name }} list group item
</a>
{% endfor %}
</div>
</div>
{% endexample %}
{% endexample %}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets