Commit 45fd1cb8 authored by Suzanne Selhorn's avatar Suzanne Selhorn Committed by Andrew Fontaine

Edits to style and CTRT

Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/300312
parent 07b19ec0
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
= form.select :public_email, options_for_select(@user.public_verified_emails, selected: @user.public_email), = form.select :public_email, options_for_select(@user.public_verified_emails, selected: @user.public_email),
{ help: s_("Profiles|This email will be displayed on your public profile"), include_blank: s_("Profiles|Do not show on profile") }, { help: s_("Profiles|This email will be displayed on your public profile"), include_blank: s_("Profiles|Do not show on profile") },
control_class: 'select2 input-lg', disabled: email_change_disabled control_class: 'select2 input-lg', disabled: email_change_disabled
- commit_email_link_url = help_page_path('user/profile/index', anchor: 'commit-email', target: '_blank') - commit_email_link_url = help_page_path('user/profile/index', anchor: 'change-the-email-displayed-on-your-commits', target: '_blank')
- commit_email_link_start = '<a href="%{url}">'.html_safe % { url: commit_email_link_url } - commit_email_link_start = '<a href="%{url}">'.html_safe % { url: commit_email_link_url }
- commit_email_docs_link = s_('Profiles|This email will be used for web based operations, such as edits and merges. %{commit_email_link_start}Learn more%{commit_email_link_end}').html_safe % { commit_email_link_start: commit_email_link_start, commit_email_link_end: '</a>'.html_safe } - commit_email_docs_link = s_('Profiles|This email will be used for web based operations, such as edits and merges. %{commit_email_link_start}Learn more%{commit_email_link_end}').html_safe % { commit_email_link_start: commit_email_link_start, commit_email_link_end: '</a>'.html_safe }
= form.select :commit_email, options_for_select(commit_email_select_options(@user), selected: selected_commit_email(@user)), = form.select :commit_email, options_for_select(commit_email_select_options(@user), selected: selected_commit_email(@user)),
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
%p %p
= s_('Profiles|Changing your username can have unintended side effects.') = s_('Profiles|Changing your username can have unintended side effects.')
= succeed '.' do = succeed '.' do
= link_to s_('Profiles|Learn more'), help_page_path('user/profile/index', anchor: 'changing-your-username'), target: '_blank' = link_to s_('Profiles|Learn more'), help_page_path('user/profile/index', anchor: 'change-your-username'), target: '_blank'
.col-lg-8 .col-lg-8
- data = { initial_username: current_user.username, root_url: root_url, action_url: update_username_profile_path(format: :json) } - data = { initial_username: current_user.username, root_url: root_url, action_url: update_username_profile_path(format: :json) }
#update-username{ data: data } #update-username{ data: data }
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
- private_profile_label = capture do - private_profile_label = capture do
= s_("Profiles|Don't display activity-related personal information on your profiles") = s_("Profiles|Don't display activity-related personal information on your profiles")
= f.check_box :private_profile, label: private_profile_label, inline: true, wrapper_class: 'mr-0' = f.check_box :private_profile, label: private_profile_label, inline: true, wrapper_class: 'mr-0'
= link_to sprite_icon('question-o'), help_page_path('user/profile/index.md', anchor: 'private-profile') = link_to sprite_icon('question-o'), help_page_path('user/profile/index.md', anchor: 'make-your-user-profile-page-private')
%h5= s_("Profiles|Private contributions") %h5= s_("Profiles|Private contributions")
= f.check_box :include_private_contributions, label: s_('Profiles|Include private contributions on my profile'), wrapper_class: 'mb-2', inline: true = f.check_box :include_private_contributions, label: s_('Profiles|Include private contributions on my profile'), wrapper_class: 'mb-2', inline: true
.help-block .help-block
......
...@@ -80,7 +80,7 @@ Learn more about GitLab account management: ...@@ -80,7 +80,7 @@ Learn more about GitLab account management:
|:-----------------------------------------------------------|:------------| |:-----------------------------------------------------------|:------------|
| [User account](user/profile/index.md) | Manage your account. | | [User account](user/profile/index.md) | Manage your account. |
| [Authentication](topics/authentication/index.md) | Account security with two-factor authentication, set up your SSH keys, and deploy keys for secure access to your projects. | | [Authentication](topics/authentication/index.md) | Account security with two-factor authentication, set up your SSH keys, and deploy keys for secure access to your projects. |
| [User settings](user/profile/index.md#user-settings) | Manage your user settings, two factor authentication, and more. | | [User settings](user/profile/index.md#access-your-user-settings) | Manage your user settings, two factor authentication, and more. |
| [User permissions](user/permissions.md) | Learn what each role in a project can do. | | [User permissions](user/permissions.md) | Learn what each role in a project can do. |
### Git and GitLab ### Git and GitLab
......
...@@ -191,7 +191,7 @@ have to be taken here: ...@@ -191,7 +191,7 @@ have to be taken here:
will associate this profile to the LDAP identity. will associate this profile to the LDAP identity.
The user can do either of these steps [in their The user can do either of these steps [in their
profile](../../../user/profile/index.md#user-profile) or an administrator can do it. profile](../../../user/profile/index.md#access-your-user-profile) or an administrator can do it.
#### Debug LDAP user filter #### Debug LDAP user filter
......
...@@ -10,7 +10,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -10,7 +10,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
## Get a single avatar URL ## Get a single avatar URL
Get a single [avatar](../user/profile/index.md#user-settings) URL for a user with the given email address. Get a single [avatar](../user/profile/index.md#access-your-user-settings) URL for a user with the given email address.
If: If:
......
...@@ -70,16 +70,16 @@ It picks reviewers and maintainers from the list at the ...@@ -70,16 +70,16 @@ It picks reviewers and maintainers from the list at the
[engineering projects](https://about.gitlab.com/handbook/engineering/projects/) [engineering projects](https://about.gitlab.com/handbook/engineering/projects/)
page, with these behaviors: page, with these behaviors:
1. It doesn't pick people whose Slack or [GitLab status](../user/profile/index.md#current-status): 1. It doesn't pick people whose Slack or [GitLab status](../user/profile/index.md#set-your-current-status):
- contains the string 'OOO', 'PTO', 'Parental Leave', or 'Friends and Family' - contains the string 'OOO', 'PTO', 'Parental Leave', or 'Friends and Family'
- emoji is `:palm_tree:`, `:beach:`, `:beach_umbrella:`, `:beach_with_umbrella:`, `:ferris_wheel:`, `:thermometer:`, `:face_with_thermometer:`, `:red_circle:`, `:bulb:`, `:sun_with_face:`. - emoji is `:palm_tree:`, `:beach:`, `:beach_umbrella:`, `:beach_with_umbrella:`, `:ferris_wheel:`, `:thermometer:`, `:face_with_thermometer:`, `:red_circle:`, `:bulb:`, `:sun_with_face:`.
1. [Trainee maintainers](https://about.gitlab.com/handbook/engineering/workflow/code-review/#trainee-maintainer) 1. [Trainee maintainers](https://about.gitlab.com/handbook/engineering/workflow/code-review/#trainee-maintainer)
are three times as likely to be picked as other reviewers. are three times as likely to be picked as other reviewers.
1. Team members whose Slack or [GitLab status](../user/profile/index.md#current-status) emoji 1. Team members whose Slack or [GitLab status](../user/profile/index.md#set-your-current-status) emoji
is 🔵 `:large_blue_circle:` are more likely to be picked. This applies to both reviewers and trainee maintainers. is 🔵 `:large_blue_circle:` are more likely to be picked. This applies to both reviewers and trainee maintainers.
- Reviewers with `:large_blue_circle:` are two times as likely to be picked as other reviewers. - Reviewers with `:large_blue_circle:` are two times as likely to be picked as other reviewers.
- Trainee maintainers with `:large_blue_circle:` are four times as likely to be picked as other reviewers. - Trainee maintainers with `:large_blue_circle:` are four times as likely to be picked as other reviewers.
1. People whose [GitLab status](../user/profile/index.md#current-status) emoji 1. People whose [GitLab status](../user/profile/index.md#set-your-current-status) emoji
is 🔶 `:large_orange_diamond:` are half as likely to be picked. This applies to both reviewers and trainee maintainers. is 🔶 `:large_orange_diamond:` are half as likely to be picked. This applies to both reviewers and trainee maintainers.
1. It always picks the same reviewers and maintainers for the same 1. It always picks the same reviewers and maintainers for the same
branch name (unless their OOO status changes, as in point 1). It branch name (unless their OOO status changes, as in point 1). It
......
...@@ -95,7 +95,7 @@ The **Seat usage** page lists all users occupying seats. Details for each user i ...@@ -95,7 +95,7 @@ The **Seat usage** page lists all users occupying seats. Details for each user i
- Full name - Full name
- Username - Username
- Public email address (if they have provided one in their [user settings](../../user/profile/index.md#user-settings)) - Public email address (if they have provided one in their [user settings](../../user/profile/index.md#access-your-user-settings))
The Seat usage listing is updated live, but the usage statistics on the billing page are updated The Seat usage listing is updated live, but the usage statistics on the billing page are updated
only once per day. For this reason there can be a minor difference between the seat usage listing only once per day. For this reason there can be a minor difference between the seat usage listing
......
...@@ -29,7 +29,7 @@ legal/auditing/compliance reasons. ...@@ -29,7 +29,7 @@ legal/auditing/compliance reasons.
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22560) in GitLab 11.5. > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22560) in GitLab 11.5.
This configuration option sets the email hostname for [private commit emails](../../profile/index.md#private-commit-email). This configuration option sets the email hostname for [private commit emails](../../profile/index.md#use-an-automatically-generated-private-commit-email).
By default it is set to `users.noreply.YOUR_CONFIGURED_HOSTNAME`. By default it is set to `users.noreply.YOUR_CONFIGURED_HOSTNAME`.
In order to change this option: In order to change this option:
......
...@@ -85,7 +85,7 @@ There are several types of users in GitLab: ...@@ -85,7 +85,7 @@ There are several types of users in GitLab:
## User activity ## User activity
You can follow or unfollow other users from their [user profiles](profile/index.md#user-profile). You can follow or unfollow other users from their [user profiles](profile/index.md#access-your-user-profile).
To see their activity in the top-level Activity view, select Follow or Unfollow, and select To see their activity in the top-level Activity view, select Follow or Unfollow, and select
the Followed Users tab: the Followed Users tab:
......
...@@ -44,7 +44,7 @@ To enable 2FA: ...@@ -44,7 +44,7 @@ To enable 2FA:
1. **In GitLab:** 1. **In GitLab:**
1. Sign in to your GitLab account. 1. Sign in to your GitLab account.
1. Go to your [**User settings**](../index.md#user-settings). 1. Go to your [**User settings**](../index.md#access-your-user-settings).
1. Go to **Account**. 1. Go to **Account**.
1. Select **Enable Two-factor Authentication**. 1. Select **Enable Two-factor Authentication**.
1. **On your device (usually your phone):** 1. **On your device (usually your phone):**
...@@ -248,7 +248,7 @@ Search for `security.webauth.u2f` and double click on it to toggle to `true`. ...@@ -248,7 +248,7 @@ Search for `security.webauth.u2f` and double click on it to toggle to `true`.
To set up 2FA with a U2F device: To set up 2FA with a U2F device:
1. Sign in to your GitLab account. 1. Sign in to your GitLab account.
1. Go to your [**User settings**](../index.md#user-settings). 1. Go to your [**User settings**](../index.md#access-your-user-settings).
1. Go to **Account**. 1. Go to **Account**.
1. Click **Enable Two-Factor Authentication**. 1. Click **Enable Two-Factor Authentication**.
1. Connect your U2F device. 1. Connect your U2F device.
...@@ -284,7 +284,7 @@ and the following mobile browsers: ...@@ -284,7 +284,7 @@ and the following mobile browsers:
To set up 2FA with a WebAuthn compatible device: To set up 2FA with a WebAuthn compatible device:
1. Sign in to your GitLab account. 1. Sign in to your GitLab account.
1. Go to your [**User settings**](../index.md#user-settings). 1. Go to your [**User settings**](../index.md#access-your-user-settings).
1. Go to **Account**. 1. Go to **Account**.
1. Select **Enable Two-Factor Authentication**. 1. Select **Enable Two-Factor Authentication**.
1. Plug in your WebAuthn device. 1. Plug in your WebAuthn device.
...@@ -351,7 +351,7 @@ request and you're automatically signed in. ...@@ -351,7 +351,7 @@ request and you're automatically signed in.
If you ever need to disable 2FA: If you ever need to disable 2FA:
1. Sign in to your GitLab account. 1. Sign in to your GitLab account.
1. Go to your [**User settings**](../index.md#user-settings). 1. Go to your [**User settings**](../index.md#access-your-user-settings).
1. Go to **Account**. 1. Go to **Account**.
1. Click **Disable**, under **Two-Factor Authentication**. 1. Click **Disable**, under **Two-Factor Authentication**.
...@@ -445,7 +445,7 @@ To regenerate 2FA recovery codes, you need access to a desktop browser: ...@@ -445,7 +445,7 @@ To regenerate 2FA recovery codes, you need access to a desktop browser:
1. Navigate to GitLab. 1. Navigate to GitLab.
1. Sign in to your GitLab account. 1. Sign in to your GitLab account.
1. Go to your [**User settings**](../index.md#user-settings). 1. Go to your [**User settings**](../index.md#access-your-user-settings).
1. Select **Account > Two-Factor Authentication (2FA)**. 1. Select **Account > Two-Factor Authentication (2FA)**.
1. If you've already configured 2FA, click **Manage two-factor authentication**. 1. If you've already configured 2FA, click **Manage two-factor authentication**.
1. In the **Register Two-Factor Authenticator** pane, click **Regenerate recovery codes**. 1. In the **Register Two-Factor Authenticator** pane, click **Regenerate recovery codes**.
......
This diff is collapsed.
...@@ -257,6 +257,6 @@ This will be rendered as: ...@@ -257,6 +257,6 @@ This will be rendered as:
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/225205) in GitLab 13.2. > - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/225205) in GitLab 13.2.
User activity events on designs (creation, deletion, and updates) are tracked by GitLab and User activity events on designs (creation, deletion, and updates) are tracked by GitLab and
displayed on the [user profile](../../profile/index.md#user-profile), displayed on the [user profile](../../profile/index.md#access-your-user-profile),
[group](../../group/index.md#view-group-activity), [group](../../group/index.md#view-group-activity),
and [project](../working_with_projects.md#project-activity) activity pages. and [project](../working_with_projects.md#project-activity) activity pages.
...@@ -296,7 +296,7 @@ and Git push/pull redirects. ...@@ -296,7 +296,7 @@ and Git push/pull redirects.
Depending on the situation, different things apply. Depending on the situation, different things apply.
When [renaming a user](../../profile/index.md#changing-your-username), When [renaming a user](../../profile/index.md#change-your-username),
[changing a group path](../../group/index.md#change-a-groups-path) or [renaming a repository](../settings/index.md#renaming-a-repository): [changing a group path](../../group/index.md#change-a-groups-path) or [renaming a repository](../settings/index.md#renaming-a-repository):
- Existing web URLs for the namespace and anything under it (such as projects) will - Existing web URLs for the namespace and anything under it (such as projects) will
......
...@@ -182,7 +182,7 @@ Similar to versioned diff file views, you can see the changes made in a given Wi ...@@ -182,7 +182,7 @@ Similar to versioned diff file views, you can see the changes made in a given Wi
> - [Feature flag for Git events was removed](https://gitlab.com/gitlab-org/gitlab/-/issues/258665) in **GitLab 13.5** > - [Feature flag for Git events was removed](https://gitlab.com/gitlab-org/gitlab/-/issues/258665) in **GitLab 13.5**
Wiki events (creation, deletion, and updates) are tracked by GitLab and Wiki events (creation, deletion, and updates) are tracked by GitLab and
displayed on the [user profile](../../profile/index.md#user-profile), displayed on the [user profile](../../profile/index.md#access-your-user-profile),
[group](../../group/index.md#view-group-activity), [group](../../group/index.md#view-group-activity),
and [project](../working_with_projects.md#project-activity) activity pages. and [project](../working_with_projects.md#project-activity) activity pages.
......
...@@ -116,7 +116,7 @@ LDAP Users remain confirmed if all of the following conditions are met: ...@@ -116,7 +116,7 @@ LDAP Users remain confirmed if all of the following conditions are met:
- The ["User email confirmation at sign-up" option](../security/user_email_confirmation.md) is set to false. - The ["User email confirmation at sign-up" option](../security/user_email_confirmation.md) is set to false.
- The first sign-in is based on user LDAP credentials. - The first sign-in is based on user LDAP credentials.
- The user has added and verified [a secondary email address](profile/index.md#user-settings) some time later. - The user has added and verified [a secondary email address](profile/index.md) some time later.
NOTE: NOTE:
Confirmation timestamps (primary vs. secondary) are different. Confirmation timestamps (primary vs. secondary) are different.
...@@ -124,6 +124,6 @@ Confirmation timestamps (primary vs. secondary) are different. ...@@ -124,6 +124,6 @@ Confirmation timestamps (primary vs. secondary) are different.
Users remain unconfirmed by the background migration if any of the following conditions are met: Users remain unconfirmed by the background migration if any of the following conditions are met:
- They [create an account through GitLab](profile/account/create_accounts.md). - They [create an account through GitLab](profile/account/create_accounts.md).
- They [swap their primary email address](profile/index.md#user-settings) and verify it. - They [swap their primary email address](profile/index.md#change-the-email-displayed-on-your-commits) and verify it.
- If they have two email addresses with the same `confirmed_at` timestamp due to the linked [security issue](https://gitlab.com/gitlab-org/gitlab/-/issues/121664). - If they have two email addresses with the same `confirmed_at` timestamp due to the linked [security issue](https://gitlab.com/gitlab-org/gitlab/-/issues/121664).
- [LDAP is introduced](../administration/auth/ldap/index.md), and users' primary email address matches that in LDAP. - [LDAP is introduced](../administration/auth/ldap/index.md), and users' primary email address matches that in LDAP.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment