Private GIT

Skip to content
Snippets Groups Projects
Commit 3b149703 authored by Kfir Hadas's avatar Kfir Hadas Committed by miigotu
Browse files

Fix source update notification (#3784)

"There is a newer version available (you're (you're 7 commits behind) behind)"
parent 17770685
Branches
No related tags found
No related merge requests found
......@@ -773,7 +773,7 @@ class SourceUpdateManager(UpdateManager):
commits_behind = ngettext("(you're {num_commits} commit behind)", "(you're {num_commits} commits behind)",
self._num_commits_behind).format(num_commits=self._num_commits_behind)
newest_text = _('There is a <a href="{compare_url}" onclick="window.open(this.href); return false;">'
'newer version available</a> (you\'re {commits_behind} behind) &mdash; '
'newer version available</a> {commits_behind} &mdash; '
'<a href="{update_url}">Update Now</a>').format(
compare_url=url, commits_behind=commits_behind, update_url=self.get_update_url())
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment