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
3c4ff902
Commit
3c4ff902
authored
Feb 13, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Obly hides the help box if the close button is clicked or if issues are added
parent
6df65983
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
boards_bundle.js.es6
app/assets/javascripts/boards/boards_bundle.js.es6
+1
-1
boards_backlog_help.js.es6
.../javascripts/boards/components/boards_backlog_help.js.es6
+5
-2
footer.js.es6
app/assets/javascripts/boards/components/modal/footer.js.es6
+1
-1
header.js.es6
app/assets/javascripts/boards/components/modal/header.js.es6
+1
-1
modal_mixins.js.es6
app/assets/javascripts/boards/mixins/modal_mixins.js.es6
+4
-2
No files found.
app/assets/javascripts/boards/boards_bundle.js.es6
View file @
3c4ff902
...
...
@@ -111,7 +111,7 @@ $(() => {
class="btn btn-create pull-right prepend-left-10 has-tooltip"
type="button"
:disabled="disabled"
@click="toggleModal(true)">
@click="toggleModal(true
, false
)">
Add issues
</button>
`,
...
...
app/assets/javascripts/boards/components/boards_backlog_help.js.es6
View file @
3c4ff902
...
...
@@ -24,7 +24,10 @@ module.exports = Vue.extend({
class="close"
aria-label="Close backlog help"
@click="toggleModal(false)">
<i class="fa fa-times"></i>
<i
class="fa fa-times"
aria-hidden="true">
</i>
</button>
</h4>
<div class="backlog-help-icon">${checkmarkIcon}</div>
...
...
@@ -39,7 +42,7 @@ module.exports = Vue.extend({
class="btn btn-success"
type="button"
:disabled="disabled"
@click="toggleModal(true)">
@click="toggleModal(true
, false
)">
Add issues
</button>
</div>
...
...
app/assets/javascripts/boards/components/modal/footer.js.es6
View file @
3c4ff902
...
...
@@ -74,7 +74,7 @@ require('./lists_dropdown');
<button
class="btn btn-default pull-right"
type="button"
@click="toggleModal(false)">
@click="toggleModal(false
, false
)">
Cancel
</button>
</footer>
...
...
app/assets/javascripts/boards/components/modal/header.js.es6
View file @
3c4ff902
...
...
@@ -57,7 +57,7 @@ const modalFilters = require('./filters');
class="close"
data-dismiss="modal"
aria-label="Close"
@click="toggleModal(false)">
@click="toggleModal(false
, false
)">
<span aria-hidden="true">×</span>
</button>
</h2>
...
...
app/assets/javascripts/boards/mixins/modal_mixins.js.es6
View file @
3c4ff902
...
...
@@ -5,10 +5,12 @@
gl.issueBoards.ModalMixins = {
methods: {
toggleModal(toggleModal) {
toggleModal(toggleModal, setCookie = true) {
if (setCookie) {
Cookies.set('boards_backlog_help_hidden', true);
Store.state.helpHidden = true;
}
ModalStore.store.showAddIssuesModal = toggleModal;
},
changeTab(tab) {
...
...
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