projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e4ceec
)
Show the Potlatch 2 help the first time a user starts it
author
Grant Slater
<openstreetmap@firefishy.com>
Fri, 8 Jul 2011 11:40:15 +0000
(12:40 +0100)
committer
Tom Hughes
<tom@compton.nu>
Fri, 8 Jul 2011 17:45:40 +0000
(18:45 +0100)
app/views/site/_potlatch2.html.erb
patch
|
blob
|
history
diff --git
a/app/views/site/_potlatch2.html.erb
b/app/views/site/_potlatch2.html.erb
index e648ed37cf7604411caab71680de38a71243c843..c91a0198496ea78d99a62483058615bb492b9dc8 100644
(file)
--- a/
app/views/site/_potlatch2.html.erb
+++ b/
app/views/site/_potlatch2.html.erb
@@
-41,6
+41,7
@@
fo.addVariable("api","<%= request.protocol + request.host_with_port %>/api/<%= API_VERSION %>/");
fo.addVariable("policy","<%= request.protocol + request.host_with_port %>/api/crossdomain.xml");
fo.addVariable("connection","XML");
+ fo.addVariable("show_help","once");
<% if token %>
fo.addVariable("oauth_token","<%= token.token %>");
fo.addVariable("oauth_token_secret","<%= token.secret %>");