From 897329a64416dd46b9e4f5a81c3c7a1666fc1173 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 10 Mar 2014 20:48:58 -0400 Subject: Add add and delete SSH key --- templates/user/publickey.tmpl | 8 ++++++-- templates/user/publickey_add.tmpl | 4 ++-- templates/user/setting.tmpl | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/user/publickey.tmpl b/templates/user/publickey.tmpl index 0c8b527d..7510616d 100644 --- a/templates/user/publickey.tmpl +++ b/templates/user/publickey.tmpl @@ -12,10 +12,11 @@
  • Kill Myself
  • +

    SSH Keys

    {{if .AddSSHKeySuccess}} -

    New SSH Key is added !

    {{end}} +

    New SSH Key has been added !

    {{else if .HasError}}

    {{.ErrorMsg}}

    {{end}}
    • SSH Key's name
    • {{range .Keys}}
    • @@ -34,6 +35,7 @@
    + +
    @@ -48,6 +51,7 @@
    + -

    Need help? Check out our guide to generating SSH keys or troubleshoot common SSH Problems

    +

    Need help? Check out the guide to generating SSH keys or troubleshoot common SSH Problems

    diff --git a/templates/user/publickey_add.tmpl b/templates/user/publickey_add.tmpl index b6757d1f..634b859d 100644 --- a/templates/user/publickey_add.tmpl +++ b/templates/user/publickey_add.tmpl @@ -5,14 +5,14 @@
    - +
    - +
    diff --git a/templates/user/setting.tmpl b/templates/user/setting.tmpl index b2b595ff..cc527a25 100644 --- a/templates/user/setting.tmpl +++ b/templates/user/setting.tmpl @@ -9,7 +9,7 @@
  • Notifications
  • SSH Keys
  • Security
  • -
  • Kill myself
  • +
  • Kill Myself
  • -- cgit v1.2.3