=f.select:public_email,options_for_select(@user.all_emails,selected: @user.public_email),{include_blank: 'Do not show in profile'},class: "form-control"
=f.select:public_email,options_for_select(@user.all_emails,selected: @user.public_email),{include_blank: 'Do not show on profile'},class: "select2"
%span.help-block This email will be displayed on your public profile.
.form-group
=f.label:skype,class: "control-label"
...
...
@@ -96,8 +96,6 @@
=link_to'Remove avatar',profile_avatar_path,data: {confirm: "Avatar will be removed. Are you sure?"},method: :delete,class: "btn btn-remove btn-sm remove-avatar"
="#{issue.to_reference} opened #{time_ago_with_tooltip(issue.created_at,placement: 'bottom')} by #{link_to_member(@project,issue.author,avatar: false)}".html_safe
#{issue.to_reference}·
opened #{time_ago_with_tooltip(issue.created_at,placement: 'bottom')}
by #{link_to_member(@project,issue.author,avatar: false)}
="##{merge_request.iid} opened #{time_ago_with_tooltip(merge_request.created_at,placement: 'bottom')} by #{link_to_member(@project,merge_request.author,avatar: false)}".html_safe
-ifmerge_request.milestone_id?
%span
%i.fa.fa-clock-o
=merge_request.milestone.title
\##{merge_request.iid} ·
opened #{time_ago_with_tooltip(merge_request.created_at,placement: 'bottom')}
by #{link_to_member(@project,merge_request.author,avatar: false)}
=link_tonamespace_project_wiki_path(@project.namespace,@project,@page),data: {confirm: "Are you sure you want to delete this page?"},method: :delete,class: "btn btn-remove"do
=link_tonamespace_project_wiki_path(@project.namespace,@project,@page),data: {confirm: "Are you sure you want to delete this page?"},method: :delete,class: "btn btn-sm btn-remove"do
@@ -15,7 +15,8 @@ Note: It is a best practice to use a password for an SSH key, but it is not
required and you can skip creating a password by pressing enter. Note that
the password you choose here can't be altered or retrieved.
To generate a new SSH key, use the following commandGitLab```bash
To generate a new SSH key, use the following command:
```bash
ssh-keygen -t rsa -C"$your_email"
```
This command will prompt you for a location and filename to store the key
...
...
@@ -108,4 +109,4 @@ Note in the gitlab.com example above a username was specified to override the de
Due to the wide variety of SSH clients and their very large number of configuration options, further explanation of these topics is beyond the scope of this document.
Public SSH keys need to be unique, as they will bind to your account. Your SSH key is the only identifier you'll
have when pushing code via SSH. That's why it needs to uniquely map to a single user.
have when pushing code via SSH. That's why it needs to uniquely map to a single user.
- Ignored in links: [Link to <%=user.to_reference%>](#user-link)
- Link to user by reference: [User](<%=user.to_reference%>)
#### IssueReferenceFilter
...
...
@@ -160,6 +161,9 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e
- Issue in another project: <%=xissue.to_reference(project)%>
- Ignored in code: `<%=issue.to_reference%>`
- Ignored in links: [Link to <%=issue.to_reference%>](#issue-link)
- Issue by URL: <%=urls.namespace_project_issue_url(issue.project.namespace,issue.project,issue)%>
- Link to issue by reference: [Issue](<%=issue.to_reference%>)
- Link to issue by URL: [Issue](<%=urls.namespace_project_issue_url(issue.project.namespace,issue.project,issue)%>)
#### MergeRequestReferenceFilter
...
...
@@ -167,6 +171,9 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e
- Merge request in another project: <%=xmerge_request.to_reference(project)%>
- Ignored in code: `<%=merge_request.to_reference%>`
- Ignored in links: [Link to <%=merge_request.to_reference%>](#merge-request-link)
- Merge request by URL: <%=urls.namespace_project_merge_request_url(merge_request.project.namespace,merge_request.project,merge_request)%>
- Link to merge request by reference: [Merge request](<%=merge_request.to_reference%>)
- Link to merge request by URL: [Merge request](<%=urls.namespace_project_merge_request_url(merge_request.project.namespace,merge_request.project,merge_request)%>)
#### SnippetReferenceFilter
...
...
@@ -174,6 +181,9 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e
- Snippet in another project: <%=xsnippet.to_reference(project)%>
- Ignored in code: `<%=snippet.to_reference%>`
- Ignored in links: [Link to <%=snippet.to_reference%>](#snippet-link)
- Snippet by URL: <%=urls.namespace_project_snippet_url(snippet.project.namespace,snippet.project,snippet)%>
- Link to snippet by reference: [Snippet](<%=snippet.to_reference%>)
- Link to snippet by URL: [Snippet](<%=urls.namespace_project_snippet_url(snippet.project.namespace,snippet.project,snippet)%>)
#### CommitRangeReferenceFilter
...
...
@@ -181,6 +191,9 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e
- Range in another project: <%=xcommit_range.to_reference(project)%>
- Ignored in code: `<%=commit_range.to_reference%>`
- Ignored in links: [Link to <%=commit_range.to_reference%>](#commit-range-link)
- Range by URL: <%=urls.namespace_project_compare_url(commit_range.project.namespace,commit_range.project,commit_range.to_param)%>
- Link to range by reference: [Range](<%=commit_range.to_reference%>)
- Link to range by URL: [Range](<%=urls.namespace_project_compare_url(commit_range.project.namespace,commit_range.project,commit_range.to_param)%>)
#### CommitReferenceFilter
...
...
@@ -188,6 +201,9 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e
- Commit in another project: <%=xcommit.to_reference(project)%>
- Ignored in code: `<%=commit.to_reference%>`
- Ignored in links: [Link to <%=commit.to_reference%>](#commit-link)
- Commit by URL: <%=urls.namespace_project_commit_url(commit.project.namespace,commit.project,commit)%>
- Link to commit by reference: [Commit](<%=commit.to_reference%>)
- Link to commit by URL: [Commit](<%=urls.namespace_project_commit_url(commit.project.namespace,commit.project,commit)%>)
#### LabelReferenceFilter
...
...
@@ -196,6 +212,7 @@ References should be parseable even inside _<%= merge_request.to_reference %>_ e
- Label by name in quotes: <%=label.to_reference(:name)%>
- Ignored in code: `<%=simple_label.to_reference%>`
- Ignored in links: [Link to <%=simple_label.to_reference%>](#label-link)
- Link to label by reference: [Label](<%=label.to_reference%>)