menu: expose artifacts count into menu
This commit is contained in:
parent
e5ba91aeb0
commit
387e40f55b
5 changed files with 29 additions and 7 deletions
|
|
@ -402,6 +402,7 @@ class RepoIntegrationsView(IntegrationSettingsViewBase):
|
|||
c.rhodecode_db_repo = self.repo
|
||||
c.repo_name = self.db_repo.repo_name
|
||||
c.repository_pull_requests = ScmModel().get_pull_requests(self.repo)
|
||||
c.repository_artifacts = ScmModel().get_artifacts(self.repo)
|
||||
c.repository_is_user_following = ScmModel().is_following_repo(
|
||||
c.repo_name, self._rhodecode_user.user_id)
|
||||
c.has_origin_repo_read_perm = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue