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
c5ea58b6
Commit
c5ea58b6
authored
Oct 10, 2016
by
Phil Hughes
Committed by
Douglas Barbosa Alexandre
Oct 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update endpoint path for the frontend
parent
7be133aa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
index.html.haml
app/views/projects/boards/index.html.haml
+19
-0
show.html.haml
app/views/projects/boards/show.html.haml
+1
-1
No files found.
app/views/projects/boards/index.html.haml
View file @
c5ea58b6
-
@no_container
=
true
-
@content_class
=
"issue-boards-content"
-
page_title
"Boards"
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_tag
(
'boards/boards_bundle.js'
)
=
page_specific_javascript_tag
(
'boards/test_utils/simulate_drag.js'
)
if
Rails
.
env
.
test?
=
render
"projects/issues/head"
=
render
'shared/issuable/filter'
,
type: :boards
.boards-list
#board-app
{
"v-cloak"
=>
true
,
"data-endpoint"
=>
"#{namespace_project_board_path(@project.namespace, @project, @boards.first)}"
,
"data-disabled"
=>
"#{!can?(current_user, :admin_list, @project)}"
,
"data-issue-link-base"
=>
"#{namespace_project_issues_path(@project.namespace, @project)}"
}
.boards-app-loading.text-center
{
"v-if"
=>
"loading"
}
=
icon
(
"spinner spin"
)
=
render
"projects/boards/components/board"
app/views/projects/boards/show.html.haml
View file @
c5ea58b6
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
=
render
'shared/issuable/filter'
,
type: :boards
=
render
'shared/issuable/filter'
,
type: :boards
.boards-list
#board-app
{
"v-cloak"
=>
true
,
.boards-list
#board-app
{
"v-cloak"
=>
true
,
"data-endpoint"
=>
"#{namespace_project_board
s_path(@project.namespace, @project
)}"
,
"data-endpoint"
=>
"#{namespace_project_board
_path(@project.namespace, @project, @board
)}"
,
"data-disabled"
=>
"#{!can?(current_user, :admin_list, @project)}"
,
"data-disabled"
=>
"#{!can?(current_user, :admin_list, @project)}"
,
"data-issue-link-base"
=>
"#{namespace_project_issues_path(@project.namespace, @project)}"
}
"data-issue-link-base"
=>
"#{namespace_project_issues_path(@project.namespace, @project)}"
}
.boards-app-loading.text-center
{
"v-if"
=>
"loading"
}
.boards-app-loading.text-center
{
"v-if"
=>
"loading"
}
...
...
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