You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/07/19 19:19:11 UTC

[2/3] allura git commit: Update template for SVN

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 <ro...@gmail.com>
Authored: Tue Jul 19 02:46:39 2016 +0530
Committer: Rohan Verma <ro...@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 %}