diff --git a/images/ui/link/link_when_not_to_3_correct.png b/images/ui/link/link_when_not_to_3_correct.png new file mode 100644 index 000000000..3df5a81cb Binary files /dev/null and b/images/ui/link/link_when_not_to_3_correct.png differ diff --git a/images/ui/link/link_when_not_to_3_correct_dark.png b/images/ui/link/link_when_not_to_3_correct_dark.png new file mode 100644 index 000000000..d3cd48c14 Binary files /dev/null and b/images/ui/link/link_when_not_to_3_correct_dark.png differ diff --git a/images/ui/link/link_when_not_to_3_incorrect.png b/images/ui/link/link_when_not_to_3_incorrect.png new file mode 100644 index 000000000..7563da84f Binary files /dev/null and b/images/ui/link/link_when_not_to_3_incorrect.png differ diff --git a/images/ui/link/link_when_not_to_3_incorrect_dark.png b/images/ui/link/link_when_not_to_3_incorrect_dark.png new file mode 100644 index 000000000..288a7ae6f Binary files /dev/null and b/images/ui/link/link_when_not_to_3_incorrect_dark.png differ diff --git a/images/ui/link/link_when_to_6_3.png b/images/ui/link/link_when_to_6_3.png index 8d25c598c..8870f54d1 100644 Binary files a/images/ui/link/link_when_to_6_3.png and b/images/ui/link/link_when_to_6_3.png differ diff --git a/images/ui/link/link_when_to_6_3_dark.png b/images/ui/link/link_when_to_6_3_dark.png index 6c062413f..3808549ed 100644 Binary files a/images/ui/link/link_when_to_6_3_dark.png and b/images/ui/link/link_when_to_6_3_dark.png differ diff --git a/topics/ui/controls/link.md b/topics/ui/controls/link.md index d4bda47cd..11735f633 100644 --- a/topics/ui/controls/link.md +++ b/topics/ui/controls/link.md @@ -54,46 +54,11 @@ Use a link as a secondary action for some items of a tree or table. #### All items can be changed - - - - - - - - - - - - - -
- Table with a toolbar with icon buttons - -

Add an icon button to a toolbar.

-
- Table with a toolbar with icon buttons - -

For a list of choices, add a separate table column of drop-down cells (see Table).

-
- Links in the Push Commits window 'origin : master' - -

If a link in every tree or table line has meaningful formatting, leave it.

-

For example, links in the Push Commits window help understand the relation between them: [remote repository] : [branch]; moving these links elsewhere would break this meaning.

-
+

If a link in every tree or table line has meaningful formatting, leave it.

- - - - - -
- Correct - Table with a toolbar with icon-buttons - - Incorrect - Table with a link 'Edit…' in every row -
+

For example, links in the Push Commits window help understand the relation between them: [remote repository] : [branch]; moving these links elsewhere would break this meaning.

+ +Links in the Push Commits window 'origin : master' ## When not to use @@ -114,6 +79,42 @@ Use a [button](button.topic) or a [drop down list](drop_down.md) for primary act +### Secondary actions in a tree or table {id="secondary-actions-not-to-use"} + +#### Editable items + +

When all items can be changed, add an icon button to a toolbar.

+ + + + + + +
+ Correct + Table with a toolbar with icon-buttons + + Incorrect + Table with a link 'Edit…' in every row +
+ +#### List of choices + +

For a list of choices, add a separate table column of drop-down cells (see Table).

+ + + + + + +
+ Correct + Table with a toolbar with icon-buttons + + Incorrect + Table with a link 'Edit…' in every row +
+ ### Simple UI Use a [button](button.topic) or a [drop down list](drop_down.md) when a UI is not constrained.