Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3574963b
Commit
3574963b
authored
Mar 22, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'docs/profile-preferences' into 'master'
Update user's profile preferences docs See merge request !10147
parents
d70f9c85
c9c23535
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
43 deletions
+74
-43
app/views/profiles/preferences/show.html.haml
app/views/profiles/preferences/show.html.haml
+6
-4
doc/profile/README.md
doc/profile/README.md
+3
-3
doc/profile/preferences.md
doc/profile/preferences.md
+1
-36
doc/user/profile/preferences.md
doc/user/profile/preferences.md
+64
-0
No files found.
app/views/profiles/preferences/show.html.haml
View file @
3574963b
...
@@ -6,7 +6,9 @@
...
@@ -6,7 +6,9 @@
%h4
.prepend-top-0
%h4
.prepend-top-0
Syntax highlighting theme
Syntax highlighting theme
%p
%p
This setting allow you to customize the appearance of the syntax.
This setting allows you to customize the appearance of the syntax.
=
succeed
'.'
do
=
link_to
'Learn more'
,
help_page_path
(
'user/profile/preferences'
,
anchor:
'syntax-highlighting-theme'
),
target:
'_blank'
.col-lg-9.syntax-theme
.col-lg-9.syntax-theme
-
Gitlab
::
ColorSchemes
.
each
do
|
scheme
|
-
Gitlab
::
ColorSchemes
.
each
do
|
scheme
|
=
label_tag
do
=
label_tag
do
...
@@ -20,6 +22,8 @@
...
@@ -20,6 +22,8 @@
Behavior
Behavior
%p
%p
This setting allows you to customize the behavior of the system layout and default views.
This setting allows you to customize the behavior of the system layout and default views.
=
succeed
'.'
do
=
link_to
'Learn more'
,
help_page_path
(
'user/profile/preferences'
,
anchor:
'behavior'
),
target:
'_blank'
.col-lg-9
.col-lg-9
.form-group
.form-group
=
f
.
label
:layout
,
class:
'label-light'
do
=
f
.
label
:layout
,
class:
'label-light'
do
...
@@ -29,13 +33,11 @@
...
@@ -29,13 +33,11 @@
Choose between fixed (max. 1200px) and fluid (100%) application layout.
Choose between fixed (max. 1200px) and fluid (100%) application layout.
.form-group
.form-group
=
f
.
label
:dashboard
,
class:
'label-light'
do
=
f
.
label
:dashboard
,
class:
'label-light'
do
Default Dashboard
Default dashboard
=
link_to
(
'(?)'
,
help_page_path
(
'profile/preferences'
)
+
'#default-dashboard'
,
target:
'_blank'
)
=
f
.
select
:dashboard
,
dashboard_choices
,
{},
class:
'form-control'
=
f
.
select
:dashboard
,
dashboard_choices
,
{},
class:
'form-control'
.form-group
.form-group
=
f
.
label
:project_view
,
class:
'label-light'
do
=
f
.
label
:project_view
,
class:
'label-light'
do
Project view
Project view
=
link_to
(
'(?)'
,
help_page_path
(
'profile/preferences'
)
+
'#default-project-view'
,
target:
'_blank'
)
=
f
.
select
:project_view
,
project_view_choices
,
{},
class:
'form-control'
=
f
.
select
:project_view
,
project_view_choices
,
{},
class:
'form-control'
.help-block
.help-block
Choose what content you want to see on a project's home page.
Choose what content you want to see on a project's home page.
...
...
doc/profile/README.md
View file @
3574963b
# Profile
S
ettings
# Profile
s
ettings
-
[
Preferences
](
preferences.md
)
-
[
Preferences
](
../user/profile/
preferences.md
)
-
[
Two-factor Authentication (2FA)
](
two_factor_authentication.md
)
-
[
Two-factor Authentication (2FA)
](
../user/profile/account/
two_factor_authentication.md
)
doc/profile/preferences.md
View file @
3574963b
# Profile Preferences
This document was moved to
[
another location
](
../user/profile/preferences.md
)
.
Settings in the
**Profile > Preferences**
page allow the user to customize
various aspects of the site to their liking.
## Syntax highlighting theme
_GitLab uses the
[
rouge ruby library
][
rouge
]
for syntax highlighting. For a
list of supported languages visit the rouge website._
Changing this setting allows the user to customize the theme used when viewing
syntax highlighted code on the site.
The default is
**White**
.
## Behavior
### Default Dashboard
For users who have access to a large number of projects but only keep up with a
select few, the amount of activity on the default Dashboard page can be
overwhelming.
Changing this setting allows the user to redefine what their default dashboard
will be. Setting it to
**Starred Projects**
will make that Dashboard view the
default when signing in or clicking the application logo in the upper left.
The default is
**Your Projects**
.
### Default Project view
It allows user to choose what content he or she want to see on project page.
The default is
**Readme**
.
[
rouge
]:
http://rouge.jneen.net/
"Rouge website"
doc/user/profile/preferences.md
0 → 100644
View file @
3574963b
# Profile preferences
A user's profile preferences page allows the user to customize various aspects
of GitLab to their liking.
To navigate to your profile's preferences, click your avatar icon in the top
right corner and select
**Settings**
. From there on, choose the
**Preferences**
tab.
## Syntax highlighting theme
>**Note:**
GitLab uses the
[
rouge Ruby library
][
rouge
]
for syntax highlighting. For a
list of supported languages visit the rouge website.
Changing this setting allows you to customize the color theme when viewing any
syntax highlighted code on GitLab.
The default one is
**White**
, and you can choose among 5 different colors:
-
White
-
Dark
-
Solarized light
-
Solarized dark
-
Monokai
## Behavior
The following settings allow you to customize the behavior of GitLab's layout
and default views of your dashboard and the projects' landing pages.
### Layout width
GitLab can be set up to use different widths depending on your liking. Choose
between the fixed (max. 1200px) and the fluid (100%) application layout.
### Default dashboard
For users who have access to a large number of projects but only keep up with a
select few, the amount of activity on the default Dashboard page can be
overwhelming. Changing this setting allows you to redefine what your default
dashboard will be.
You have 6 options here that you can use for your default dashboard view:
-
Your projects (default)
-
Starred projects
-
Your projects' activity
-
Starred projects' activity
-
Your groups
-
Your [Todos]
### Default project view
The default project view settings allows you to choose what content you want to
see on a project's landing page.
You can choose between 2 options:
-
Show the files and the readme (default)
-
Show the project's activity
[
rouge
]:
http://rouge.jneen.net/
"Rouge website"
[
todos
]:
../../workflow/todos.md
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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