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
a28686d3
Commit
a28686d3
authored
Jun 16, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix preferences/show
parent
42d8ebeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
app/views/profiles/preferences/show.html.haml
app/views/profiles/preferences/show.html.haml
+6
-5
No files found.
app/views/profiles/preferences/show.html.haml
View file @
a28686d3
...
@@ -49,11 +49,12 @@
...
@@ -49,11 +49,12 @@
.panel-heading
.panel-heading
Code preview theme
Code preview theme
.panel-body
.panel-body
-
color_schemes
.
each
do
|
color_scheme_id
,
color_scheme
|
.code_highlight_opts
=
label_tag
do
-
color_schemes
.
each
do
|
color_scheme_id
,
color_scheme
|
.preview
=
image_tag
"
#{
color_scheme
}
-scheme-preview.png"
=
label_tag
do
=
f
.
radio_button
:color_scheme_id
,
color_scheme_id
.prev
=
image_tag
"
#{
color_scheme
}
-scheme-preview.png"
=
color_scheme
.
tr
(
'-_'
,
' '
).
titleize
=
f
.
radio_button
:color_scheme_id
,
color_scheme_id
=
color_scheme
.
tr
(
'-_'
,
' '
).
titleize
.panel.panel-default
.panel.panel-default
.panel-heading
.panel-heading
...
...
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