BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8d0c7e84
Commit
8d0c7e84
authored
Apr 11, 2017
by
George Andrinopoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename wiki-edit class to js-wiki-edit
parent
4306c0b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
shortcuts_wiki.js
app/assets/javascripts/shortcuts_wiki.js
+1
-1
_main_links.html.haml
app/views/projects/wikis/_main_links.html.haml
+1
-1
No files found.
app/assets/javascripts/shortcuts_wiki.js
View file @
8d0c7e84
...
...
@@ -11,6 +11,6 @@ export default class ShortcutsWiki extends ShortcutsNavigation {
}
editWiki
()
{
findAndFollowLink
(
'.wiki-edit'
);
findAndFollowLink
(
'.
js-
wiki-edit'
);
}
}
app/views/projects/wikis/_main_links.html.haml
View file @
8d0c7e84
...
...
@@ -5,5 +5,5 @@
=
link_to
namespace_project_wiki_history_path
(
@project
.
namespace
,
@project
,
@page
),
class:
"btn"
do
Page history
-
if
can?
(
current_user
,
:create_wiki
,
@project
)
&&
@page
.
latest?
=
link_to
namespace_project_wiki_edit_path
(
@project
.
namespace
,
@project
,
@page
),
class:
"btn wiki-edit"
do
=
link_to
namespace_project_wiki_edit_path
(
@project
.
namespace
,
@project
,
@page
),
class:
"btn
js-
wiki-edit"
do
Edit
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