Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
af415e1b
Commit
af415e1b
authored
Oct 22, 2015
by
Ray Schamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set template cue to dismiss welcome panel
parent
58d3ed4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
server/proxies.json
server/proxies.json
+1
-0
src/views/splash/splash.jsx
src/views/splash/splash.jsx
+10
-2
No files found.
server/proxies.json
View file @
af415e1b
...
...
@@ -7,5 +7,6 @@
"/login_retry/"
,
"/media/"
,
"/session/"
,
"/site-api"
,
"/static/"
]
src/views/splash/splash.jsx
View file @
af415e1b
...
...
@@ -88,8 +88,16 @@ var Splash = injectIntl(React.createClass({
if
(
!
err
)
this
.
setState
({
projectCount
:
body
.
count
});
}.
bind
(
this
));
},
handleDismiss
:
function
(
flag
)
{
// TODO: Call flag setting xhr
handleDismiss
:
function
(
cue
)
{
this
.
api
({
host
:
''
,
uri
:
'
/site-api/users/set-template-cue/
'
,
method
:
'
post
'
,
useCsrf
:
true
,
json
:
{
cue
:
cue
,
value
:
false
}
},
function
(
err
)
{
if
(
!
err
)
window
.
refreshSession
();
});
},
renderHomepageRows
:
function
()
{
var
formatMessage
=
this
.
props
.
intl
.
formatMessage
;
...
...
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