summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-16 06:16:03 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-16 06:16:03 -0400
commitca956d5cec34fd99d88494af3cafb214606fe27b (patch)
tree6a3ed4c6e86105e3cbf8878f21d272bdcb67ecc7 /templates/user
parentc83657307e4ba5d414389c0e012ecf789053f763 (diff)
downloadgitea-ca956d5cec34fd99d88494af3cafb214606fe27b.tar.gz
gitea-ca956d5cec34fd99d88494af3cafb214606fe27b.zip
Add generate fingerprint of ssh key
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/publickey.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/publickey.tmpl b/templates/user/publickey.tmpl
index 60d2c2464a..b671f63fdb 100644
--- a/templates/user/publickey.tmpl
+++ b/templates/user/publickey.tmpl
@@ -21,7 +21,7 @@
<li class="list-group-item"><span class="name">SSH Key's name</span></li>{{range .Keys}}
<li class="list-group-item">
<span class="name">{{.Name}}</span>
- <span class="print">(print code)</span>
+ <span class="print">({{.Fingerprint}})</span>
<a href="#" class="btn btn-link btn-danger right delete" rel="{{.Id}}" data-del="{{.Id}}">Delete</a>
</li>{{end}}
<li class="list-group-item">