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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
67ff47b3
Commit
67ff47b3
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Capitalize tab titles
parent
080a0c02
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
app/helpers/blob_helper.rb
app/helpers/blob_helper.rb
+1
-1
app/views/projects/blob/edit.html.haml
app/views/projects/blob/edit.html.haml
+3
-3
features/steps/project/source/browse_files.rb
features/steps/project/source/browse_files.rb
+1
-1
No files found.
app/helpers/blob_helper.rb
View file @
67ff47b3
...
@@ -60,7 +60,7 @@ module BlobHelper
...
@@ -60,7 +60,7 @@ module BlobHelper
if
Gitlab
::
MarkupHelper
.
previewable?
(
filename
)
if
Gitlab
::
MarkupHelper
.
previewable?
(
filename
)
'Preview'
'Preview'
else
else
'Preview
c
hanges'
'Preview
C
hanges'
end
end
end
end
...
...
app/views/projects/blob/edit.html.haml
View file @
67ff47b3
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
%ul
.center-top-menu.no-bottom.js-edit-mode
%ul
.center-top-menu.no-bottom.js-edit-mode
%li
.active
%li
.active
=
link_to
'#editor'
do
=
link_to
'#editor'
do
%i
.fa.fa-edit
=
icon
(
'edit'
)
Edit
f
ile
Edit
F
ile
%li
%li
=
link_to
'#preview'
,
'data-preview-url'
=>
namespace_project_preview_blob_path
(
@project
.
namespace
,
@project
,
@id
)
do
=
link_to
'#preview'
,
'data-preview-url'
=>
namespace_project_preview_blob_path
(
@project
.
namespace
,
@project
,
@id
)
do
%i
.fa.fa-eye
=
icon
(
'eye'
)
=
editing_preview_title
(
@blob
.
name
)
=
editing_preview_title
(
@blob
.
name
)
=
form_tag
(
namespace_project_update_blob_path
(
@project
.
namespace
,
@project
,
@id
),
method: :put
,
class:
'form-horizontal js-requires-input js-edit-blob-form'
)
do
=
form_tag
(
namespace_project_update_blob_path
(
@project
.
namespace
,
@project
,
@id
),
method: :put
,
class:
'form-horizontal js-requires-input js-edit-blob-form'
)
do
...
...
features/steps/project/source/browse_files.rb
View file @
67ff47b3
...
@@ -87,7 +87,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
...
@@ -87,7 +87,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
end
step
'I click link "Diff"'
do
step
'I click link "Diff"'
do
click_link
'Preview
c
hanges'
click_link
'Preview
C
hanges'
end
end
step
'I click on "Commit Changes"'
do
step
'I click on "Commit Changes"'
do
...
...
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