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
67fd6b86
Commit
67fd6b86
authored
Aug 06, 2017
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit button to class.
parent
2c6895d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
index.js
app/assets/javascripts/repo/index.js
+1
-2
repo.scss
app/assets/stylesheets/pages/repo.scss
+1
-1
_editable_mode.html.haml
app/views/shared/repo/_editable_mode.html.haml
+1
-1
No files found.
app/assets/javascripts/repo/index.js
View file @
67fd6b86
...
...
@@ -58,8 +58,7 @@ function initRepoEditButton(el) {
function
initRepoBundle
()
{
const
repo
=
document
.
getElementById
(
'repo'
);
const
editButton
=
document
.
getElementById
(
'editable-mode'
);
const
editButton
=
document
.
querySelector
(
'.editable-mode'
);
setInitialStore
(
repo
.
dataset
);
addEventsForNonVueEls
();
initDropdowns
();
...
...
app/assets/stylesheets/pages/repo.scss
View file @
67fd6b86
...
...
@@ -43,7 +43,7 @@
@include
str-truncated
(
250px
);
}
#
editable-mode
{
.
editable-mode
{
display
:
inline-block
;
}
...
...
app/views/shared/repo/_editable_mode.html.haml
View file @
67fd6b86
#
editable-mode
.
editable-mode
%repo-edit-button
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