diff options
author | Unknwon <u@gogs.io> | 2015-11-18 23:01:06 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-18 23:01:06 -0500 |
commit | 915bf1d2e329ff5d66eac2d475cd00f52f48c896 (patch) | |
tree | 6b7ef462e8155ea1e33821704b0082db10519894 /templates | |
parent | f455125d4de8c788143a24edefb8c6b2cef0f524 (diff) | |
parent | fc56f42dc35a60395ca8def114a23a6c7655c410 (diff) | |
download | gitea-915bf1d2e329ff5d66eac2d475cd00f52f48c896.tar.gz gitea-915bf1d2e329ff5d66eac2d475cd00f52f48c896.zip |
Merge pull request #1994 from arthuroy/develop
Fix #1965 - the hyperlink and the display name of the branch
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 70142f9a51..fff1e16f60 100644 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -13,7 +13,8 @@ {{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}} + {{ $branchLink := .GetBranch | EscapePound}} + {{$.i18n.Tr "action.commit_repo" .GetRepoLink $branchLink .GetBranch .GetRepoPath | Str2html}} {{else if eq .GetOpType 6}} {{ $index := index .GetIssueInfos 0}} {{$.i18n.Tr "action.create_issue" .GetRepoLink $index .GetRepoPath | Str2html}} |