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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
51f3f6f1
Commit
51f3f6f1
authored
Jul 04, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move script tag to the partial
parent
7b8d9487
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
25 deletions
+25
-25
app/views/shared/boards/_show.html.haml
app/views/shared/boards/_show.html.haml
+1
-1
ee/app/views/shared/promotions/_promote_issue_board.html.haml
...pp/views/shared/promotions/_promote_issue_board.html.haml
+24
-24
No files found.
app/views/shared/boards/_show.html.haml
View file @
51f3f6f1
...
...
@@ -11,7 +11,7 @@
-# haml-lint:disable InlineJavaScript
%script
#js-board-template
{
type:
"text/x-template"
}=
render
"shared/boards/components/board"
%script
#js-board-modal-filter
{
type:
"text/x-template"
}=
render
"shared/issuable/search_bar"
,
type: :boards_modal
%script
#js-board-promotion
{
type:
"text/x-template"
}=
render
"shared/promotions/promote_issue_board"
=
render_if_exists
"shared/promotions/promote_issue_board"
#board-app
.boards-app
{
"v-cloak"
=>
true
,
data:
board_data
,
":class"
=>
"{ 'is-compact': detailIssueVisible }"
}
.d-none.d-sm-none.d-md-block
...
...
ee/app/views/shared/promotions/_promote_issue_board.html.haml
View file @
51f3f6f1
-
return
unless
@project
.board-promotion-state
.svg-container.center
=
custom_icon
(
'icon_issue_board'
)
%p
-
if
Gitlab
::
CurrentSettings
.
should_check_namespace_plan?
=
_
(
'Upgrade your plan to improve Issue boards.'
)
-
else
=
_
(
'Improve Issue boards with GitLab Enterprise Edition.'
)
%ul
-
unless
@project
.
multiple_issue_boards_available?
%li
=
link_to
_
(
'Multiple issue boards'
),
help_page_path
(
'user/project/issue_board.html'
,
anchor
:'use-cases-for-multiple-issue-boards'
),
target:
'_blank'
-
unless
@project
.
feature_available?
(
:scoped_issue_board
)
%li
=
link_to
_
(
'Scoped issue boards'
),
help_page_path
(
'user/project/issue_board.html'
,
anchor
:'board-with-a-milestone'
),
target:
'_blank'
-
unless
@project
.
feature_available?
(
:issue_board_focus_mode
)
%li
=
link_to
_
(
'Issue board focus mode'
),
help_page_path
(
'user/project/issue_board.html'
,
anchor
:'focus-mode'
),
target:
'_blank'
=
render
'shared/promotions/promotion_link_project'
.top-space
%button
.btn.btn-default.btn-block
#hide-btn
{
:href
=>
"#"
,
"@click.stop"
=>
"clearPromotionState"
}
=
_
(
"Thanks! Don't show me this again"
)
%script
#js-board-promotion
{
type:
"text/x-template"
}
-
return
unless
@project
.board-promotion-state
.svg-container.center
=
custom_icon
(
'icon_issue_board'
)
%p
-
if
Gitlab
::
CurrentSettings
.
should_check_namespace_plan?
=
_
(
'Upgrade your plan to improve Issue boards.'
)
-
else
=
_
(
'Improve Issue boards with GitLab Enterprise Edition.'
)
%ul
-
unless
@project
.
multiple_issue_boards_available?
%li
=
link_to
_
(
'Multiple issue boards'
),
help_page_path
(
'user/project/issue_board.html'
,
anchor
:'use-cases-for-multiple-issue-boards'
),
target:
'_blank'
-
unless
@project
.
feature_available?
(
:scoped_issue_board
)
%li
=
link_to
_
(
'Scoped issue boards'
),
help_page_path
(
'user/project/issue_board.html'
,
anchor
:'board-with-a-milestone'
),
target:
'_blank'
-
unless
@project
.
feature_available?
(
:issue_board_focus_mode
)
%li
=
link_to
_
(
'Issue board focus mode'
),
help_page_path
(
'user/project/issue_board.html'
,
anchor
:'focus-mode'
),
target:
'_blank'
=
render
'shared/promotions/promotion_link_project'
.top-space
%button
.btn.btn-default.btn-block
#hide-btn
{
:href
=>
"#"
,
"@click.stop"
=>
"clearPromotionState"
}
=
_
(
"Thanks! Don't show me this again"
)
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