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
4483437e
Commit
4483437e
authored
Oct 14, 2020
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace switcher icons in blob viewer models
parent
05ef2590
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
4 deletions
+9
-4
app/models/blob_viewer/balsamiq.rb
app/models/blob_viewer/balsamiq.rb
+1
-1
app/models/blob_viewer/pdf.rb
app/models/blob_viewer/pdf.rb
+1
-1
app/models/blob_viewer/sketch.rb
app/models/blob_viewer/sketch.rb
+1
-1
app/models/diff_viewer/rich.rb
app/models/diff_viewer/rich.rb
+1
-1
changelogs/unreleased/mw-replace-switcher-icons.yml
changelogs/unreleased/mw-replace-switcher-icons.yml
+5
-0
No files found.
app/models/blob_viewer/balsamiq.rb
View file @
4483437e
...
@@ -8,7 +8,7 @@ module BlobViewer
...
@@ -8,7 +8,7 @@ module BlobViewer
self
.
partial_name
=
'balsamiq'
self
.
partial_name
=
'balsamiq'
self
.
extensions
=
%w(bmpr)
self
.
extensions
=
%w(bmpr)
self
.
binary
=
true
self
.
binary
=
true
self
.
switcher_icon
=
'
file-image-o
'
self
.
switcher_icon
=
'
doc-image
'
self
.
switcher_title
=
'preview'
self
.
switcher_title
=
'preview'
end
end
end
end
app/models/blob_viewer/pdf.rb
View file @
4483437e
...
@@ -8,7 +8,7 @@ module BlobViewer
...
@@ -8,7 +8,7 @@ module BlobViewer
self
.
partial_name
=
'pdf'
self
.
partial_name
=
'pdf'
self
.
extensions
=
%w(pdf)
self
.
extensions
=
%w(pdf)
self
.
binary
=
true
self
.
binary
=
true
self
.
switcher_icon
=
'
file-pdf-o
'
self
.
switcher_icon
=
'
document
'
self
.
switcher_title
=
'PDF'
self
.
switcher_title
=
'PDF'
end
end
end
end
app/models/blob_viewer/sketch.rb
View file @
4483437e
...
@@ -8,7 +8,7 @@ module BlobViewer
...
@@ -8,7 +8,7 @@ module BlobViewer
self
.
partial_name
=
'sketch'
self
.
partial_name
=
'sketch'
self
.
extensions
=
%w(sketch)
self
.
extensions
=
%w(sketch)
self
.
binary
=
true
self
.
binary
=
true
self
.
switcher_icon
=
'
file-image-o
'
self
.
switcher_icon
=
'
doc-image
'
self
.
switcher_title
=
'preview'
self
.
switcher_title
=
'preview'
end
end
end
end
app/models/diff_viewer/rich.rb
View file @
4483437e
...
@@ -6,7 +6,7 @@ module DiffViewer
...
@@ -6,7 +6,7 @@ module DiffViewer
included
do
included
do
self
.
type
=
:rich
self
.
type
=
:rich
self
.
switcher_icon
=
'
file-text-o
'
self
.
switcher_icon
=
'
doc-text
'
self
.
switcher_title
=
_
(
'rendered diff'
)
self
.
switcher_title
=
_
(
'rendered diff'
)
end
end
end
end
...
...
changelogs/unreleased/mw-replace-switcher-icons.yml
0 → 100644
View file @
4483437e
---
title
:
Replace switcher fa- icons in blob viewer models
merge_request
:
45124
author
:
type
:
changed
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