diff options
author | Unknwon <u@gogs.io> | 2015-09-01 09:29:52 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-01 09:29:52 -0400 |
commit | 8af094967fb0c09db817999bf8ff209251b183b8 (patch) | |
tree | 4af06f4e1ab2d1f30b4bb9da94cfc8ff1944a53e /templates/user/dashboard | |
parent | f1adbca0f1e9aad55d23964cc95a8a42f0f66b1f (diff) | |
download | gitea-8af094967fb0c09db817999bf8ff209251b183b8.tar.gz gitea-8af094967fb0c09db817999bf8ff209251b183b8.zip |
#1377 add rename repo action
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 3ef3da3c12..cd00f76402 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -8,6 +8,8 @@ <a href="{{AppSubUrl}}/{{.GetActUserName}}">{{.GetActUserName}}</a> {{if eq .GetOpType 1}} {{$.i18n.Tr "action.create_repo" .GetRepoLink .GetRepoPath | Str2html}} + {{else if eq .GetOpType 2}} + {{$.i18n.Tr "action.rename_repo" .GetContent .GetRepoLink .GetRepoPath | Str2html}} {{else if eq .GetOpType 5}} {{$.i18n.Tr "action.commit_repo" .GetRepoLink .GetBranch .GetRepoPath | Str2html}} {{else if eq .GetOpType 6}} |