allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [2/3] allura git commit: Update template for SVN
Date Tue, 19 Jul 2016 19:19:11 GMT
Update template for SVN


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/9153fc05
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/9153fc05
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/9153fc05

Branch: refs/heads/master
Commit: 9153fc05333e2568759831d093004ac493cfd7c1
Parents: cf4770b
Author: Rohan Verma <rohanverma2004@gmail.com>
Authored: Tue Jul 19 02:46:39 2016 +0530
Committer: Rohan Verma <rohanverma2004@gmail.com>
Committed: Tue Jul 19 02:46:39 2016 +0530

----------------------------------------------------------------------
 ForgeSVN/forgesvn/templates/svn/index.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/9153fc05/ForgeSVN/forgesvn/templates/svn/index.html
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/templates/svn/index.html b/ForgeSVN/forgesvn/templates/svn/index.html
index 4849e89..d074d1c 100644
--- a/ForgeSVN/forgesvn/templates/svn/index.html
+++ b/ForgeSVN/forgesvn/templates/svn/index.html
@@ -88,7 +88,8 @@ svn import {{c.app.repo.clone_url('rw', c.user.username)}} -m "Initial commit"</
     &nbsp;
     <div class="message info scm-ssh-key">
       <div class="content">
-      Did you get asked for your {{config.site_name}} password during this process? You can
securely use your Subversion repository and avoid having to re-enter your password by <a
href="https://{{config.domain}}/account/ssh">setting up an ssh-key</a>.
+       {% if h.asbool(config.get('auth.allow_upload_ssh_key', True)) %} Did you get asked
for your {{config.site_name}} password during this process? You can securely use your Git
repository and avoid having to re-enter your password by <a href="{{config.get('auth.preferences_url')}}">setting
up an ssh-key</a>.
+       {% else %} Did you get asked for your {{config.site_name}} password during this process?
You can securely use your Git repository and avoid having to re-enter your password by asking
your server admin to enable uploading ssh keys</a>. {% endif %}
       </div>
     </div>
     {% else %}


Mime
View raw message