summaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-06-25 16:03:29 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-06-25 16:03:29 +0800
commit72ba273cc99589d7a0ca0a7986939e86f6599bf8 (patch)
treea148c92aee2b55fbd7cfa7f60a2cb419a9358645 /templates/repo/create.tmpl
parent4cf7a1fca5ed22c4d46317477e6feab324fb337e (diff)
downloadgitea-72ba273cc99589d7a0ca0a7986939e86f6599bf8.tar.gz
gitea-72ba273cc99589d7a0ca0a7986939e86f6599bf8.zip
select owner when creating repository
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index 3288b736ca..0eee1e572a 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -9,9 +9,9 @@
<label class="col-md-2 control-label">Owner<strong class="text-danger">*</strong></label>
<div class="col-md-8">
<div class="btn-group" id="repo-owner-switch">
- <button type="button" class="btn btn-default">
- <img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username">
- {{.SignedUser.Name}}
+ <button type="button" class="btn btn-default" id="repo-owner-current">
+ <img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username" id="repo-owner-avatar">
+ <span id="repo-owner-name">{{.SignedUser.Name}}</span>
</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>