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
Boxiang Sun
gitlab-ce
Commits
c4882f70
Commit
c4882f70
authored
Jul 24, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project-name
parent
27ab1150
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
app/assets/javascripts/repo/index.js
app/assets/javascripts/repo/index.js
+1
-0
app/assets/javascripts/repo/repo_sidebar.vue
app/assets/javascripts/repo/repo_sidebar.vue
+1
-1
app/assets/javascripts/repo/repo_store.js
app/assets/javascripts/repo/repo_store.js
+1
-0
app/views/projects/tree/_tree_content.html.haml
app/views/projects/tree/_tree_content.html.haml
+1
-1
No files found.
app/assets/javascripts/repo/index.js
View file @
c4882f70
...
@@ -17,6 +17,7 @@ function initRepo() {
...
@@ -17,6 +17,7 @@ function initRepo() {
Store
.
service
=
Service
;
Store
.
service
=
Service
;
Store
.
service
.
url
=
repo
.
dataset
.
url
;
Store
.
service
.
url
=
repo
.
dataset
.
url
;
Store
.
projectName
=
repo
.
dataset
.
projectName
;
new
Vue
({
new
Vue
({
el
:
repo
,
el
:
repo
,
...
...
app/assets/javascripts/repo/repo_sidebar.vue
View file @
c4882f70
...
@@ -88,7 +88,7 @@ export default RepoSidebar;
...
@@ -88,7 +88,7 @@ export default RepoSidebar;
<tbody>
<tbody>
<repo-file-options
<repo-file-options
:is-mini=
"isMini"
:is-mini=
"isMini"
project-name=
"TODO
"
/>
:project-name=
"projectName
"
/>
<repo-previous-directory
<repo-previous-directory
:prev-url=
"prevURL"
:prev-url=
"prevURL"
@
linkclicked=
"linkClicked(prevURL)"
/>
@
linkclicked=
"linkClicked(prevURL)"
/>
...
...
app/assets/javascripts/repo/repo_store.js
View file @
c4882f70
...
@@ -10,6 +10,7 @@ const RepoStore = {
...
@@ -10,6 +10,7 @@ const RepoStore = {
editMode
:
false
,
editMode
:
false
,
isTree
:
false
,
isTree
:
false
,
prevURL
:
''
,
prevURL
:
''
,
projectName
:
''
,
trees
:
[],
trees
:
[],
blobs
:
[],
blobs
:
[],
submodules
:
[],
submodules
:
[],
...
...
app/views/projects/tree/_tree_content.html.haml
View file @
c4882f70
#repo
{
data:
{
url:
repo_url
(
@project
)
}
}
#repo
{
data:
{
url:
repo_url
(
@project
)
,
'project-name'
=>
@project
.
name
}
}
#commit-area
{
"v-if"
=>
"changedFiles.length"
}
#commit-area
{
"v-if"
=>
"changedFiles.length"
}
%form
.form-horizontal
%form
.form-horizontal
%fieldset
%fieldset
...
...
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